Description Usage Arguments Value Examples
Package names come likethis
and like.this
and Like.THIS
and in a whole host of formats. check_package_naming
consumes package
metadata and identifies the format a package's name follows, using the
convention described below.
1 | check_package_naming(package_metadata)
|
package_metadata |
package metadata retrieved with
|
a named, two-element list containing casing
("Lower", "Upper"
or "Mixed") and alphanumeric
(TRUE
for package names that
exclusively contain alphanumeric characters, and FALSE
for package
names that contain special characters.)
1 2 3 4 5 6 | # Identify if dplyr is all lower-case (yep) and only contains alphanumeric
# characters (also yep)
check_package_naming(get_package_metadata("ggplot2"))
# gridExtra, not so much
check_package_naming(get_package_metadata("gridExtra"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.