get_helpers: Get all helper files associated with an idempotent resource...

Description Usage Arguments Value Examples

Description

Get all helper files associated with an idempotent resource directory.

Usage

1
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

1
2
3
4
5
6
7
## 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")

## End(Not run)

syberia/director documentation built on May 30, 2019, 10:40 p.m.