A contstructor for a SwitchrParam object representing a number of common parameters understood by the switchr framework
SwitchrParam(
logfun = function(...) NULL,
shell_init = character(),
archive_timing = 2,
archive_retries = 2,
dl_method,
shell_timing = 1
)
A SwitchrParam object.
The function to be called to write to logs
A character containing the location of a shell script to be sourced before any system commands.
The timeout after downloading a package from the CRAN Archive.
Number of times to retry retrieving a package from the CRAN Archive.
The download method to use when retrieve package
source files. See download.file
If none is specified,
the method defaults to "curl" if the RCurl package is installed and "auto" otherwise.
numeric. The numer of seconds to wait between certain shell commands. Defaults to 1, this should only need to be changed in the case of, e.g., networked drive latency issues.
Gabriel Becker