Make a name from randomly sampled characters, pasted together with no spaces
RandomName(length = 5L, chars = letters, ...)
How long should the name be
A vector of 1-length characters to use to generate the name
Extra parameters passed to sample
A character with nchar == length
of randomly sampled letters
set.seed(42L)
RandomName()
#> [1] "qeajd"
RandomName(7L, replace = TRUE)
#> [1] "rzqoxgd"