Skip to contents

This function returns the file path to the micromamba executable managed by the condathis package. The path is determined based on the system's operating system and architecture.

Usage

micromamba_bin_path()

Value

A character string representing the full path to the micromamba executable. The path differs depending on the operating system:

Windows

<install_dir>/micromamba/Library/bin/micromamba.exe

Other OS (e.g., Linux, macOS)

<install_dir>/micromamba/bin/micromamba

Examples

condathis::with_sandbox_dir({
  # Retrieve the path to where micromamba executable is searched
  micromamba_path <- condathis::micromamba_bin_path()
  print(micromamba_path)
})
#> /tmp/RtmpFsS4yt/tmp-data1d101aa1f410/R/condathis/micromamba/bin/micromamba