R/utils.R
safe_id.Rd
Replace disallowed characters with - and convert to lower-case so the resulting id is safe to use in filenames.
-
safe_id(name)
(character(1)) Input name to sanitise.
character(1)
(character(1)) Sanitised identifier.