cleanConda: Run 'conda clean'

Description Usage Arguments Details Value Author(s) Examples

View source: R/cleanConda.R

Description

Clean the Conda installation to remove unused packages and tarballs.

Usage

1

Arguments

loc

String containing the path to the root of a conda instance.

Details

This should only be performed to save disk space for system installations, as the cached extras will never be used by any other basilisk package.

In contrast, for an externally cached conda, the extras may be re-used by other basilisk clients. So it's usually worth keeping them around, though this function can be called directly by the user if the cache gets too big.

Value

An integer value indicating whether the cleaning was successful.

Author(s)

Aaron Lun

Examples

1
2
3
4
# We can't actually run cleanConda() here, as it 
# either relies on basilisk already being installed or
# it has a hard-coded path to the basilisk system dir.
print("dummy test to pass BiocCheck")

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