Manage Environment with micromamba
Arguments
- ...
<dynamic dots> Additional arguments passed to
micromamba
. Runappmamba()
for more details.- force
A logical value indicating whether to reinstall
appmamba
if it is already installed.- edit
A logical value indicating whether to open the config file for editing.
Functions
appmamba()
:blit
utilizesmicromamba
to manage environments. This function simply executes the specifiedmicromamba
command.install_appmamba()
: Install appmamba (micromamba
).uninstall_appmamba()
: Remove appmamba (micromamba
).appmamba_rc()
: Get therun commands
config file of themicromamba
.
Examples
# \donttest{
install_appmamba()
#> Installing appmamba
#> Downloading from https://micro.mamba.pm/api/micromamba/linux-64/latest
#> Install appmamba successfully!
appmamba()
#> Running command (2025-09-29 09:06:10):
#> /home/runner/.local/share/R/blit/apps/appmamba/bin/micromamba --root-prefix
#> /home/runner/.local/share/R/blit/appmamba --help
#>
appmamba("env", "list")
#> Running command (2025-09-29 09:06:10):
#> /home/runner/.local/share/R/blit/apps/appmamba/bin/micromamba --root-prefix
#> /home/runner/.local/share/R/blit/appmamba env list
#>
# uninstall_appmamba() # Uninstall the `micromamba`
# }