micromamba_bin_path: Retrieve Path to the 'micromamba' Executable

View source: R/micromamba_bin_path.R

micromamba_bin_pathR Documentation

Retrieve Path to the micromamba Executable

Description

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)
})


condathis documentation built on April 12, 2025, 2:01 a.m.