R/tempNameGenerator.R
mk_tmp_name_source.Rd
Returns a function f where: f() returns a new temporary name, f(remove=vector) removes names in vector and returns what was removed, f(dumpList=TRUE) returns the list of names generated and clears the list, f(peek=TRUE) returns the list without altering anything.
mk_tmp_name_source(
prefix = "tmpnam",
...,
alphabet = as.character(0:9),
size = 20,
sep = "_"
)
character, string to prefix temp names with.
force later argument to be bound by name.
character, characters to choose from in building ids.
character, number of characters to build id portion of names from.
character, separator between temp name fields.
name generator function.