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")
}
Run the code above in your browser using DataLab