lib.clean_install_dir: Clear the temp install folder.

View source: R/helper_functions.R

lib.clean_install_dirR Documentation

Clear the temp install folder.

Description

The temporary installation folder (indicated by lib.location_install_dir()) is used to install the package before moving ('converting') it to the final location. This function removes this temporary folder. Make sure that all installed packages that are desired to keep are converted. You can run the lib.convert() once again to make sure this is the case.

Usage

lib.clean_install_dir(
  lib_location = lib.location(),
  temp_install_location = lib.location_install_dir(lib_location)
)

Arguments

lib_location

By default the library path returned by lib.location() is used. It is only used to build the temp_install.location when that argument is not provided.

temp_install_location

The folder that is emptied by this function.

Value

No return value, it is called for it's side-effect of removing the temporary installation folder (located in <multiversion_lib>/TEMP_install_location). This must be called after every installation.


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