download | R Documentation |
Install conda via the Miniforge project to an appropriate destination path, skipping the installation if said path already exists.
download(
download.version = defaultDownloadVersion(),
cache.dir = defaultCacheDirectory(),
ignore.cache = FALSE
)
download.version |
String specifying the Miniforge version to download. |
cache.dir |
String specifying the location of the directory in which to cache Miniforge installations. |
ignore.cache |
Logical scalar specifying whether to ignore any existing cached version of Miniforge, in which case the binaries will be downloaded again. |
This function was originally created from code in https://github.com/hafen/rminiconda,
also borrowing code from reticulate's install_miniconda
for correct Windows installation.
It downloads and runs a Miniforge installer to create a Bioconductor-managed Conda instance.
Whenever download
is re-run, any old conda instances and their associated basilisk environments are deleted from the external installation directory.
This avoids duplication of large conda instances after their obselescence.
A conda instance is created at the cache location. Nothing is performed if a complete instance already exists at that location. A string is returned containing the path to the conda installation.
Aaron Lun
download()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.