setCondaPackageDir: Set or unset the Conda package directory

View source: R/setCondaPackageDir.R

setCondaPackageDirR Documentation

Set or unset the Conda package directory

Description

Set or unset the directory used to store the cached Conda packages, e.g., tarballs and such. This should be a non-temporary location as other packages may link to its contents.

Usage

setCondaPackageDir(loc)

Arguments

loc

A string containing a path to the desired directory (that should already exist). Alternatively NA, in which case any existing setting is removed.

Value

The previous value of CONDA_PKGS_DIRS, invisibly.

Author(s)

Aaron Lun

Examples

# Setting it to something new:
out <- setCondaPackageDir(tempdir())

# Setting it back
setCondaPackageDir(out)


LTLA/basilisk.utils documentation built on April 13, 2024, 1:14 a.m.