Check if an R package name is availableSource:
Additionally, look up the candidate name in a number of dictionaries, to make sure that it does not have a negative meaning.
Package name candidate.
Character vector, the dictionaries to query. Available dictionaries: *
urban(Urban Dictionary). If
NULL(by default), the Urban Dictionary is omitted, as it is often offensive.
Check the validity of
name as a package name. See 'Writing R
Extensions' for the allowed package names. Also checked against a list
of names that are known to cause problems.
name against the names of all past and current packages on
CRAN, including base and recommended packages.
name with https://www.purgomalum.com/service/containsprofanity
to make sure it is not a profanity.