lib.clean_libPaths: Exclude not relevant search paths.

View source: R/helper_functions.R

lib.clean_libPathsR Documentation

Exclude not relevant search paths.

Description

Excludes all .libPaths other then those needed for lib.load().

Usage

lib.clean_libPaths(lib_location = lib.location(), dry_run = FALSE)

Arguments

lib_location

The folder which contains the multiversion library. All directories in .libPaths() containing this path will be kept. By default, it checks the environment variable R_MV_LIBRARY_LOCATION to find this directory.

dry_run

If TRUE, will not change the paths but will print the paths that would be removed by cleaning up the .libPaths() list.

Value

No return value, called for it's side effect of cleaning the .libPaths by removing any non-multiversion library locations.


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