Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

set_config_in

Set a configuration parameter for a package


Description

This is a more flexible variant of link{set_config}, and it allows creating an custom API in the package that uses pkgconfig for its configuration.

Usage

set_config_in(..., .in = parent.frame())

Arguments

...

Parameters to set, they should be all named.

.in

An environment, typically belonging to a package.

Details

This function is identical to set_config, but it allows supplying the environment that is used as the package the configuration is set for. This makes it possible to create an API for setting (and getting) configuration parameters.

Value

Nothing.

See Also


pkgconfig

Private Configuration for 'R' Packages

v2.0.3
MIT + file LICENSE
Authors
Gábor Csárdi
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.