load_internal_functions {cleanr} | R Documentation |
Load objects not exported from a package's namespace.
load_internal_functions(package, ...)
package |
[character(1)] |
... |
Arguments passed to |
The files to be checked get sourced, which means they have to contain R code producing no errors. If we want to check the source code of a package, we need to load the package and be able to run all its internals in our environment.
invisible(TRUE)
load_internal_functions("cleanr")