Learn R Programming

icesTAF (version 3.6.0)

taf.bootstrap: Bootstrap TAF Analysis

Description

Process metadata files SOFTWARE.bib and DATA.bib to set up software and data files required for the analysis.

Usage

taf.bootstrap(software = TRUE, data = TRUE, clean = TRUE,
  force = FALSE, taf = NULL, quiet = FALSE)

Value

Logical vector indicating which metadata files were processed.

Arguments

software

whether to process SOFTWARE.bib.

data

whether to process DATA.bib.

clean

whether to clean directories during the bootstrap procedure.

force

whether to remove existing bootstrap/data, bootstrap/library, and bootstrap/software directories before the bootstrap procedure.

taf

a convenience flag where taf = TRUE sets software, data, clean, and force to TRUE, as is done on the TAF server. Any other value of taf is ignored.

quiet

whether to suppress messages reporting progress.

Details

If clean = TRUE then:

  1. clean.software and clean.library are run if SOFTWARE.bib is processed.

  2. clean.data is run if DATA.bib is processed.

The default behavior of taf.bootstrap is to skip downloading of remote files (GitHub resources, URLs, bootstrap scripts) and also skip installing R packages from GitHub if the files seem to be already in place. This is done to speed up the bootstrap procedure as much as possible. To override this and guarantee that all data and software files are updated, pass force = TRUE to download and install everything declared in SOFTWARE.bib and DATA.bib.

See Also

draft.data and draft.software can be used to create initial draft versions of DATA.bib and SOFTWARE.bib metadata files.

taf.library loads a package from bootstrap/library.

icesTAF-package gives an overview of the package.

Examples

Run this code
if (FALSE) {
taf.bootstrap()
}

Run the code above in your browser using DataLab