SwitchrParam A contstructor for a SwitchrParam object representing a number of common parameters understood by the switchr framework

Description

SwitchrParam A contstructor for a SwitchrParam object representing a number of common parameters understood by the switchr framework

Usage

1
2

Arguments

logfun

The function to be called to write to logs

shell_init

A character containing the location of a shell script to be sourced before any system commands.

archive_timing

The timeout after downloading a package from the CRAN Archive.

archive_retries

Number of times to retry retrieving a package from the CRAN Archive.

dl_method

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.

shell_timing

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.

Value

A SwitchrParam object.

Author(s)

Gabriel Becker

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.