password(n = 8, numbers = TRUE, case = TRUE, special = c("?", "!", "&", "%", "$"))
nchar
FALSE
sample
password(8) password(10, numbers = FALSE, special = "/")
Run the code above in your browser using DataCamp Workspace