which_dirty: List the targets for which current is FALSE (as a character...

Description Usage Arguments Examples

View source: R/status_info.R

Description

Runs faster when RDSify_first = FALSE.

Usage

1
2
3
4
5
which_dirty(
  target_names = NULL,
  remake_file = getOption("scipiper.remake_file"),
  RDSify_first = TRUE
)

Arguments

target_names

character vector of targets for which to determine build status, including status for dependencies of the named targets. If NULL will return status for the default target and its dependencies.

remake_file

filename of the remake YAML file from which status should be determined

RDSify_first

logical. Should the info in build/status/*.yml files be copied over to the remake RDS-based status database before querying for target cleanliness?

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# assuming you have a file named remake.yml:
get_remake_status() # get status for the default target and its dependencies
get_remake_status(list_all_targets()) # get status for all explicitly named targets in remake.yml

# or to get status for all targets in a different remake YAML:
get_remake_status(list_all_targets('other_remake.yml'), 'other_remake.yml')

## End(Not run)

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