Description Usage Arguments Value Examples
View source: R/capture_requirements.R
This function creates a dependencies metadata requirements.txt file following the minimal conda compatible naming convention for package version definition:
channel::package=version
It can be used for creating a conda environment with conda create env --name tinyverse --file  requirements.txt
| 1 2 3 4 5 | capture_requirements(
  file = "_requirements.txt",
  write = FALSE,
  attached = TRUE
)
 | 
| file | A path to the filename for saving the  | 
| write | Boolean,  | 
| attached | Boolean,  | 
A dataframe or a text file with conda formatted package metadata
| 1 | capture_requirements(write = FALSE, attached = TRUE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.