augment_pkg_config: Augment package configuration metadata

augment_pkg_configR Documentation

Augment package configuration metadata

Description

Augments a package's configuration metadata (⁠<pkg>::pkg_config⁠) with the columns r_opts and env_var holding the respective R option and environment variable names.

Usage

augment_pkg_config(pkg = utils::packageName(env = parent.frame()))

Arguments

pkg

Package name. A character scalar. Defaults to the name of the calling package.

Value

A tibble with at minimum the columns key, default_value, r_opt and env_var.

See Also

Other package configuration functions: has_pkg_config_val(), pkg_config_val(), pkg_config_val_default(), print_pkg_config()

Examples

try(
  pal::augment_pkg_config(pkg = "pkgpurl")
)

salim-b/pal documentation built on Feb. 28, 2025, 6:51 p.m.