dev_meta | R Documentation |
If the package was not loaded with devtools, returns NULL
.
dev_meta(name)
name |
The name of a loaded package |
dev_meta("stats") # NULL
if (has_tests()) {
# Load the test package in directory "testLoadHooks"
load_all(pkgtest("testLoadHooks"))
# Get metadata for the package
x <- dev_meta("testLoadHooks")
as.list(x)
# Clean up.
unload("testLoadHooks")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.