Learn R Programming

roxylint (version 0.1.0)

config: Configuration

Description

Various functions for loading, caching and performing configured behaviors using a user-supplied configuration file.

Usage

.registered

config_load(path = getwd(), cache = TRUE)

config_find_from(path)

config_from_desc(path)

config_from_file(path)

Format

An object of class environment of length 0.

Arguments

path

A file path to use when searching for a config file. Either the file path to a DESCRIPTION or the root path of a package, depending on the context of the function.

Functions

  • config_load(): Load the contents of a config into an environment

  • config_find_from(): Load a configuration from a path

  • config_from_desc(): Load a configuration from a DESCRIPTION file

  • config_from_file(): Load a configuration from a dotfile