dev_meta

0th

Percentile

Return devtools metadata environment

If the package was not loaded with devtools, returns NULL.

Keywords
internal
Usage
dev_meta(name)
Arguments
name

The name of a loaded package

Aliases
  • dev_meta
Examples
# NOT RUN {
dev_meta("stats") # NULL

if (has_tests()) {
# Load the test package in directory "testLoadHooks"
load_all(devtest("testLoadHooks"))

# Get metdata for the package
x <- dev_meta("testLoadHooks")
as.list(x)

# Clean up.
unload(devtest("testLoadHooks"))
}
# }
Documentation reproduced from package devtools, version 1.13.6, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.