View source: R/install_micromamba.R
install_micromamba | R Documentation |
condathis
Controlled PathDownloads and installs the Micromamba binaries in the path managed by the condathis
package.
Micromamba is a lightweight implementation of the Conda package manager and provides an efficient way
to create and manage conda environments.
install_micromamba(
micromamba_version = "2.0.5-0",
timeout_limit = 3600,
download_method = "auto",
force = FALSE
)
micromamba_version |
Character string specifying the version of Micromamba to download.
Defaults to |
timeout_limit |
Numeric value specifying the timeout limit for downloading the Micromamba
binaries, in seconds. Defaults to |
download_method |
Character string passed to the |
force |
Logical. If set to TRUE, the download and installation of the
Micromamba binaries will be forced, even if they already exist in the
system or |
This function checks if Micromamba is already installed in the condathis
controlled path.
If not, it downloads the specified version from the official GitHub releases and installs it.
On Windows, it ensures the binary is downloaded correctly by setting the download mode to "wb"
.
If the download fails, appropriate error messages are displayed.
Invisibly returns the path to the installed Micromamba binary.
## Not run:
condathis::with_sandbox_dir({
# Install the default version of Micromamba
condathis::install_micromamba()
# Install a specific version of Micromamba
condathis::install_micromamba(micromamba_version = "2.0.2-2")
# Force reinstallation of Micromamba
condathis::install_micromamba(force = TRUE)
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.