getExternalDir {basilisk.utils} | R Documentation |
Define an external location for installing the Miniconda instance and basilisk environments.
getExternalDir()
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.
String containing a path to an appropriate external folder.
Aaron Lun
getBasiliskDir
, where this function is used for Windows or MacOSX.
# We can't actually run getExternalDir() here, as it # either relies on basilisk already being installed. print("dummy test to pass BiocCheck")