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"))
Run the code above in your browser using DataLab