RDSify_build_status: Copy info from build/status to .remake/objects

Description Usage Arguments

View source: R/scmake.R

Description

Copy build status files from versionable text to .remake binary (.rds file)

Usage

1
2
3
4
RDSify_build_status(
  new_only = FALSE,
  remake_file = getOption("scipiper.remake_file")
)

Arguments

new_only

logical. It's possible to corrupt a shared-cache repo. One way this happens seems to be something about collaborating on .ind and build/status files via git. Another way to corrupt it is by calling remake::make after git pulling new build/status files and before calling scmake. Therefore, (1) this flag provides recourse; set new_only=FALSE to overwrite all .remake files for which we have build/status files, (2) the default is FALSE, and (3) still, you should avoid calling remake::make in a shared-cache repo; call scmake instead.

remake_file

filename of the remake YAML file for which build/status files should be RDSified


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