getExternalDir {basilisk.utils}R Documentation

Get external Miniconda installation

Description

Define an external location for installing the Miniconda instance and basilisk environments.

Usage

getExternalDir()

Details

We add the version information so that re-installation of basilisk will install a new instance of Miniconda. (This assumes that basilisk and basilisk.utils have synchronized version bumps.) See installMiniconda for more details on how this external location is managed.

If the BASILISK_EXTERNAL_DIR environment variable is set to some location, this will be used instead as the installation directory. Setting this variable is occasionally necessary if the default path returned by user_cache_dir has spaces; or on Windows, if the 260 character limit is exceeded after combining the default path with deeply nested Miniconda paths.

Value

String containing a path to an appropriate external folder.

Author(s)

Aaron Lun

See Also

getBasiliskDir, where this function is used for Windows or MacOSX.

Examples

# We can't actually run getExternalDir() here, as it 
# either relies on basilisk already being installed.
print("dummy test to pass BiocCheck")


[Package basilisk.utils version 1.0.4 Index]