scbless: Declare to remake and scipiper that a target is current

View source: R/scmake.R

scblessR Documentation

Declare to remake and scipiper that a target is current

Description

scbless (aka sc_declare_current) tells remake and scipiper to update their databases to reflect that the current target is up to date with respect to the current dependencies

Usage

scbless(
  target_names,
  remake_file = getOption("scipiper.remake_file"),
  ind_ext = getOption("scipiper.ind_ext")
)

sc_declare_current(
  target_names,
  remake_file = getOption("scipiper.remake_file"),
  ind_ext = getOption("scipiper.ind_ext")
)

Arguments

target_names

names of the targets to record as already current

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

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.


USGS-R/scipiper documentation built on May 25, 2023, 8:47 a.m.