svMisc v1.5.0
R/temp_var.R
temp_var.Rd
This function ensures that the variable name is cryptic enough and is not already used.
temp_var(pattern = ".var") tempvar(pattern = ".var")
The prefix for the variable (the rest is a random number).
A string with the name of a variable.
tempfile()
temp_var() #> [1] ".var64672"