set_makevars {withr} | R Documentation |
Makevars
file, by adding new variablesYou probably want with_makevars()
instead of this function.
set_makevars(variables, old_path = file.path("~", ".R", "Makevars"), new_path = tempfile(), assignment = c("=", ":=", "?=", "+="))
variables |
|
old_path |
|
new_path |
|
assignment |
|
Unlike with_makevars()
, it does not activate the new Makevars
file, i.e. it does not set the R_MAKEVARS_USER
environment variable.