Skip to content

Tools for generating a conda environment for an R package

License

Notifications You must be signed in to change notification settings

yashacode/RConda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RConda

Tools for generating a conda environment for an R package

In your R project root directory, run this to make a yaml of required packages from the DESCRIPTION file.

make_yaml()

Then tell your user to do the following to make a Conda env:

  1. In R run the following to get the yaml path:
# replace yourpackage with your package name
system.file("extdata", "yourpackage-env.yml", package = "yourpackage")
  1. In the terminal run this to make the conda env:
conda env create -f "/full/path/to/yourpackage-env.yml"

About

Tools for generating a conda environment for an R package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages