document_conda_hrrt() runs conda env export for the environment
created by setup_conda_hrrt(), prints the result, and optionally writes
it to a YAML file, so the environment can be recreated with
conda env create -f <file>. A message also names the HRRT database
installed in the environment (e.g. human_filter.db.20250916v2), which
is not part of the export but belongs in a methods section too.
Usage
document_conda_hrrt(
env_name = "hrrt_env",
write_yml = FALSE,
dir = "methods",
file = paste0(env_name, ".yml")
)Arguments
- env_name
Name of the conda environment to export.
- write_yml
If
TRUE, write the export to<dir>/<file>.- dir
Directory to save the YAML file in when
write_ymlisTRUE. Created if needed. Defaults tomethods/in the working directory.- file
Name of the YAML file to write in
dir. Defaults to<env_name>.yml.