View source: R/write_runtime.R
write_runtime | R Documentation |
This function writes the language (in this case R) and a date from which packages will be downloaded from MRAN. The file is written to a hidden folder called '.binder/'.
write_runtime( path = ".", version = NULL, r_date = lubridate::ymd(lubridate::today()) )
path |
Path to project |
version |
Version of R to lock down. |
r_date |
Date you need R to lock down to. By default it picks the most recent date a file was touched in this project but you can override this by specifying this explicitly. Date must be in ISO 8601 format, e.g. 2019-06-27 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.