scmake: Wrapper for remake::make that permits cache sharing

Description Usage Arguments

View source: R/scmake.R

Description

The name: sc=scipiper, sc=shared cache. This wrapper could eventually involve other custom hooks for things to do before or after building a target

Usage

1
2
3
4
5
6
7
8
9
scmake(
  target_names = NULL,
  remake_file = getOption("scipiper.remake_file"),
  ...,
  force = FALSE,
  verbose = TRUE,
  allow_missing_packages = FALSE,
  ind_ext = getOption("scipiper.ind_ext")
)

Arguments

target_names

as in remake::make

remake_file

the file path+name of the remake file to use in building the targets. As in remake::make, except that for scmake this param comes before ... and second in line, so it can be easily specified without naming the argument

...

as in remake::make

force

logical. if TRUE, the target_names will be deleted with scdel before being built.

verbose

as in remake::make

allow_missing_packages

as in remake::make

ind_ext

the indicator file extension identifying those files for which build/status information will be shared via git-committable files in the build/status folder. You should git commit the resulting build/status files.


aappling-usgs/scipiper documentation built on Aug. 1, 2020, 3:11 p.m.