Get all helper files associated with an idempotent resource directory.
get_helpers(path, ..., leave_idempotent = FALSE)
path | character. The *absolute* path of the idempotent resource. |
---|---|
... | additional parameters to pass to |
leave_idempotent | logical. Whether or not to leave the
idempotent file (non-helper). By default |
a character list of relative helper paths.
not_run({ # If we have a directory structure given by \code{"model/model.R"}, # \code{"model/constants.R"}, \code{"model/functions.R"}, then the # below will return \code{c("constants.R", "functions.R")}. get_helpers("model") })