Get all helper files associated with an idempotent resource directory.

get_helpers(path, ..., leave_idempotent = FALSE)

Arguments

path

character. The *absolute* path of the idempotent resource.

...

additional parameters to pass to list.files.

leave_idempotent

logical. Whether or not to leave the idempotent file (non-helper). By default FALSE.

Value

a character list of relative helper paths.

Examples

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") })