conda_export: Conda export
Description
Get a list of installed packages within a conda environment.
Generates a requirements.txt file.
Usage
conda_export(
name,
save_path = tempfile(fileext = "_requirements.txt"),
preview = FALSE,
verbose = TRUE,
...
)
Value
Path to requirements file.
Arguments
- name
Name of conda environment.
- save_path
Path to save the requirements file.
If the file ends with .yml or .yaml, a conda-style
yaml file will be generated.
If the file ends with requirements.txt, a pip-style requirements.txt file
will be generated.
- preview
Print the requirements file to the R console.
- verbose
Print messages.
- ...
Optional arguments, reserved for future expansion.