print_pkg_config: Print package configuration metadata

print_pkg_configR Documentation

Description

Prints a package's configuration metadata (⁠<pkg>::pkg_config⁠) as a prettily formatted Markdown table.

Usage

print_pkg_config(
  pkg = utils::packageName(env = parent.frame()),
  roxy_to_md = FALSE
)

Arguments

pkg

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

roxy_to_md

Whether or not to convert roxygen2 documentation links in pseudo-Markdown style to actual Markdown ones using roxy_to_md_links().

Value

A character vector.

See Also

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

Examples

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

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