Learn R Programming

rworkflows (version 1.0.6)

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.

Examples

Run this code
if (FALSE) {
conda_export()
}

Run the code above in your browser using DataLab