Load Development Package
load_project(
pkg,
reset = FALSE,
...,
utests = TRUE,
verbose = FALSE,
addlib = TRUE,
character.only = FALSE,
try.library = FALSE
)library_project(...)
Invisibly the package
object of the loaded package.
name of the package/project to load.
logical that indicates if the package should be reloaded (passed to load_all
.
other arguments passed to load_all
.
logical that indicates if an environment containing the unit test functions should be created.
If TRUE
this environment is accessible at pkgname::UnitTests$test.filename.r$function.name
.
logical that indicates if log messages should be printed.
logical that indicates if the lib/
sub-directory, if it exists, should be prepended
to the library path.
This enables to control the version of the loaded dependencies.
logical that indicates if argument pkg should be evaluated or taken litteral.
logicatl that indicates if projects that could not be found should be looked up in the installed packages.
library_project()
: shortcut for load_project(..., try.library = TRUE)
, to load project
code from installed library if not found as a development project.
All its arguments are passed to load_project
.