lib.location_install_dir: Temporary directory location.

View source: R/helper_functions.R

lib.location_install_dirR Documentation

Temporary directory location.

Description

Indicates the default directory for initially installing a package before it is 'converted' to the final multiversion library structure (see: lib.convert()). This folder can be cleaned up using cleanTempInstallFolder() after installing the package succeeded. This is not done automatically but won't influence the installation of other packages.

Usage

lib.location_install_dir(lib_location = lib.location(), do_create = TRUE)

Arguments

lib_location

By default the default library path obtained with lib.location().

do_create

When it doesn't exist yet, create the folder.

Value

The temporary folder location where packages are installed before they are moved to their final location in the multiversion library. When do_create == TRUE, the folder will be created when it does not yet exist.


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