make_force_packages: Create lists of 'package' exports

make_force_packagesR Documentation

Create lists of package exports

Description

Useful for supplying packages to the force argument to pretty_namespace.

Usage

make_force_packages(packages)

Arguments

packages

(character) packages to include in list. When duplicate function names exist the order of packages determines which function will be selected first - IE the first package with the function name will include that function, the second package with the function name will not have it listed.

Value

(named list) with package names as names as all exports as a character vector

Examples

make_force_packages(c("utils"))

yonicd/sinew documentation built on March 1, 2024, 1:06 a.m.