setCondaPackageDir: Set or unset the Conda package directory

Description Usage Arguments Value Author(s) Examples

View source: R/setCondaPackageDir.R

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

1

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

1
2
3
4
5
# Setting it to something new:
out <- setCondaPackageDir(tempdir())

# Setting it back
setCondaPackageDir(out)

LTLA/basilisk.utils documentation built on June 10, 2021, 8:41 p.m.