knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(kwb.python)
env_name <- "test"
kwb.python::conda_py_install(env_name = env_name, 
                             pkgs = list(conda = "python",
                                         py = NULL)
                             )

path_environment_yml <- kwb.python::conda_export(condaenv = env_name)
path_environment_yml
cat(paste0(readLines(path_environment_yml), collapse = "\n"))


KWB-R/kwb.python documentation built on May 30, 2022, 9:43 a.m.