View source: R/construct_conda_yml.R
construct_conda_yml | R Documentation |
Construct a yaml file to be used for building a given conda
environment.
construct_conda_yml(
name = "test",
channels = list("conda-forge", "nodefaults"),
dependencies = list(),
pip = NULL,
save_path = here::here(paste0(name, "_conda.yml")),
return_path = TRUE,
preview = FALSE,
verbose = TRUE
)
name |
Name of |
channels |
|
dependencies |
Packages to install via |
pip |
Packages to install via |
save_path |
Path to save the yaml file to. |
return_path |
Return the path to the saved yaml workflow file
(default: |
preview |
Print the yaml file to the R console. |
verbose |
Print messages. |
description
Path or yaml object.
yml <- construct_conda_yml(name="myenv",
dependencies=c("anndata","scanpy"),
return_path = FALSE,
## Writing to temp only for example
save_path=tempfile(fileext="myenv_conda.yml"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.