get_R.Rd
Downloads R in app_dir
. If it has already been downloaded, get_R
will use that file. If the download fails it will stop.
get_R(app_dir = getwd(), R_version = paste0(">=", R.version$major, ".", R.version$minor))
app_dir | Development app's directory, defaults to |
---|---|
R_version | R version to use. Supports inequalities. Defaults to: |
sprintf('R-%s-win.exe', R_version)
in app_dir
.
If create_app(include_R = TRUE)
, then get_R
.