read_r_config: Read R Configuration for a Package

Description Usage Arguments

View source: R/utils.R

Description

Read the R configuration, as through R CMD config.

Usage

1
2
3
4
5
6
read_r_config(
  ...,
  package = Sys.getenv("R_PACKAGE_DIR", unset = "."),
  envir = configure_database(),
  verbose = configure_verbose()
)

Arguments

...

The R configuration values to read (as a character vector). If empty, all values are read as through R CMD config --all).

package

The path to the R package's sources.

envir

The environment in which the configuration information should be assigned. By default, the configure_database() is populated with the requested values.

verbose

Boolean; notify the user as R configuration is read?


kevinushey/configure documentation built on March 26, 2021, 12:21 p.m.