uc_extractor: Extract information from a package.

Description Usage Arguments Value

View source: R/uc_extractor.R

Description

In order to simplify the investigation by under_construction, it might in many cases be preferable to extract from a package the non-exported objects, and in addition get our hands the functions that has been imported into the package.

Usage

1
uc_extractor(.package_name, .attach = FALSE)

Arguments

.package_name

The name of the package to investigate.

.attach

Logical value, default FALSE, that decides if the extracted values should be added to the search-path.

Value

Depending on .attach. When FALSE, a list with two environments, one containing any non-exported objects from the package and one containing copies of stuff that was imported into the package (stuff already available in the search-path will be ignored). When TRUE these environments are added to the end of the search-path., and nothing is returned to the work-flow. Note that uc_cleanup can be used to get rid of stuff again.


LAJordanger/UnderConstruction documentation built on May 3, 2019, 5 p.m.