lib.load_namespaces: Load namespaces

View source: R/helper_functions.R

lib.load_namespacesR Documentation

Load namespaces

Description

Load (but do not attach) the namespaces of a list of packages.

Usage

lib.load_namespaces(
  packages_to_load_in_ns,
  lib_location = lib.location(),
  additional_lib
)

Arguments

packages_to_load_in_ns

A named character vector with package names and their version indication (e.g. ‘c(dplyr = ’>= 0.4.0', ggplot = ”)').

lib_location

The folder which contains the multiversion library. By default, it checks the environment variable R_MV_LIBRARY_LOCATION to find this directory, see lib.location().

additional_lib

A single or multiple paths that must be used in addition to the lib_location for looking up the packages. Non existing paths are silently ignored.


multiversion documentation built on March 22, 2022, 1:07 a.m.