-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathwrite_runtime.Rd
More file actions
27 lines (25 loc) · 808 Bytes
/
write_runtime.Rd
File metadata and controls
27 lines (25 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/write_runtime.R
\name{write_runtime}
\alias{write_runtime}
\title{Write runtime.txt}
\usage{
write_runtime(
path = ".",
version = NULL,
r_date = lubridate::ymd(lubridate::today())
)
}
\arguments{
\item{path}{Path to project}
\item{version}{Version of R to lock down.}
\item{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}
}
\description{
This function writes the language (in this case R) and a date from which
packages will be downloaded from \href{https://mran.microsoft.com/}{MRAN}. The file is written to a hidden folder
called `.binder/`.
}