View source: R/conda_support.R
| track_conda_env | R Documentation |
Export and track a conda environment specification for reproducibility. Works with both conda and mamba.
track_conda_env(env_name = NULL, output_file, use_mamba = FALSE, registry_file)
env_name |
Character. Name of conda environment. If NULL, uses active environment. |
output_file |
Character. Path to save environment file (required). |
use_mamba |
Logical. Use mamba instead of conda. Default FALSE. |
registry_file |
Character. Path to conda registry (required). |
List containing environment information
## Not run:
# Track currently active conda environment
track_conda_env(output_file = tempfile(fileext = ".yml"),
registry_file = tempfile(fileext = ".json"))
# Track specific environment
track_conda_env(env_name = "bioinfo_env",
output_file = tempfile(fileext = ".yml"),
registry_file = tempfile(fileext = ".json"))
# Use mamba instead
track_conda_env(use_mamba = TRUE,
output_file = tempfile(fileext = ".yml"),
registry_file = tempfile(fileext = ".json"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.