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
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


USGS-R/scipiper documentation built on Aug. 14, 2018, 5:23 a.m.