R Parameters
Mend supports integration with R via the Packrat package manager, but can also be used by customers not using Packrat. The configuration parameters that are specifically related to the R programming language include the following:
Configuration File Parameter | Description and Expected Behavior | If True | If False | Default | Command Line Parameter Available? |
---|---|---|---|---|---|
r.resolveDependencies | Whether to resolve R dependencies defined in the DESCRIPTION file. NOTE: The DESCRIPTION file is a prerequisite for scanning a project. | Resolves R dependencies. | Will not resolve R dependencies | True | No |
r.runPreStep | Whether to run the | Runs the | Will not run the | False | No |
r.ignoreSourceFiles | When using the dependency resolver, it will include only package dependencies, not source files. NOTE: Only relevant when fileSystemScan is true. | Includes only package dependencies. | The scan will include package dependencies + source files. | True | No |
r.cranMirrorUrl | The repository for downloading the R packages while running the pre-step. NOTE: Required when r.runPreStep is True. | N/A | N/A | No default | No |
r.packageManager | Describes which type of R package manager the UA should use. The default value is packrat. Setting the value to 'None' will scan R dependencies without using any package manager - it will only use basic R commands e.g. | N/A | N/A | 'packrat' | No |