Debian Codegraph @

man/set_makevars.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/makevars.R
3 \name{set_makevars}
4 \alias{set_makevars}
5 \title{Create a new \code{Makevars} file, by adding new variables}
6 \usage{
7 set_makevars(
8 variables,
9 old_path = makevars_user(),
10 new_path = tempfile(),
11 assignment = c("=", ":=", "?=", "+=")
12 )
13 }
14 \arguments{
15 \item{variables}{\verb{[named character]}\cr new variables and their values}
16
17 \item{old_path}{\verb{[character(1)]}\cr location of existing \code{Makevars}
18 file to modify.}
19
20 \item{new_path}{\verb{[character(1)]}\cr location of the new \code{Makevars} file}
21
22 \item{assignment}{\verb{[character(1)]}\cr assignment type to use.}
23 }
24 \description{
25 You probably want \code{\link[=with_makevars]{with_makevars()}} instead of this function.
26 }
27 \details{
28 Unlike \code{\link[=with_makevars]{with_makevars()}}, it does not activate the new \code{Makevars}
29 file, i.e. it does not set the \code{R_MAKEVARS_USER} environment variable.
30 }
31 \keyword{internal}