Temporarily change contents of an existing
with_makevars(new, code, path = file.path("~", ".R", "Makevars"), assignment = c("=", ":=", "?=", "+="))
[named character]New variables and their values
[any]Code to execute in the temporary environment
[character(1)]location of existing
Makevarsfile to modify.
[character(1)]assignment type to use.
Makevars file exists or the fields in
not exist in the existing
Makevars file then the fields are added to
the new file. Existing fields which are not included in
appended unchanged. Fields which exist in
Makevars and in
are modified to use the value in
[any] The results of the evaluation of the
withr for examples