Skip to content

Commit

Permalink
Pass in reference data path
Browse files Browse the repository at this point in the history
  • Loading branch information
delosh653 committed Aug 3, 2023
1 parent 56e127d commit 97ecc46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions R/growth.R
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,8 @@ cleangrowth <- function(subjid,
who.ht.vel = who.ht.vel,
lt3.exclude.mode = lt3.exclude.mode,
error.load.threshold = error.load.threshold,
error.load.mincount = error.load.mincount)
error.load.mincount = error.load.mincount,
ref.data.path = ref.data.path)
}
} else {
# create log directory if necessary
Expand Down Expand Up @@ -969,7 +970,8 @@ cleangrowth <- function(subjid,
who.ht.vel = who.ht.vel,
lt3.exclude.mode = lt3.exclude.mode,
error.load.threshold = error.load.threshold,
error.load.mincount = error.load.mincount
error.load.mincount = error.load.mincount,
ref.data.path = ref.data.path
)
}
stopCluster(cl)
Expand Down
3 changes: 2 additions & 1 deletion R/infants_clean.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ cleanbatch_infants <- function(data.df,
who.ht.vel,
lt3.exclude.mode,
error.load.threshold,
error.load.mincount) {
error.load.mincount,
ref.data.path) {
# avoid "no visible binding" warnings
abs.2ndlast.sd <- abs.tbc.sd <- abs.tbc.sd.next <- abs.tbc.sd.prev <- abssum2 <- NULL
aft.g.befp1 <- agedays <- agedays.other <- bef.g.aftm1 <- delta <- NULL
Expand Down

0 comments on commit 97ecc46

Please sign in to comment.