Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

load_project

Load Development Package


Description

Load Development Package

Usage

load_project(
  pkg,
  reset = FALSE,
  ...,
  utests = TRUE,
  verbose = FALSE,
  addlib = TRUE,
  character.only = FALSE,
  try.library = FALSE
)

library_project(...)

Arguments

pkg

name of the package/project to load.

reset

logical that indicates if the package should be reloaded (passed to load_all.

...

other arguments passed to load_all.

utests

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.

verbose

logical that indicates if log messages should be printed.

addlib

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.

character.only

logical that indicates if argument pkg should be evaluated or taken litteral.

try.library

logicatl that indicates if projects that could not be found should be looked up in the installed packages.

Functions

  • 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.


pkgmaker

Development Utilities for R Packages

v0.32.2
GPL (>= 2)
Authors
Renaud Gaujoux [aut, cre]
Initial release
2020-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.