Return devtools metadata environment
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 metdata for the package x <- dev_meta("testLoadHooks") as.list(x) # Clean up. unload("testLoadHooks") }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.