Description Usage Arguments Details Value See Also Examples
take a package's metadata and identify from it whether the package follows the "semantic versioning" convention, at least in theory. See details for, well, details.
1 | check_versioning(package_metadata)
|
package_metadata |
package metadata retrieved with |
semantic versioning is a convention for identifying version numbers of a codebase in a way that distinguishes major changes, minor changes and patches by using three period-separated groups of digits. As an example, 2.0.0 is semantically versioned; 2.0 is not.
check_versioning
takes the latest package version
number found in package_metadata and identifies whether
it follows this format (TRUE) or does not (FALSE).
TRUE if the package does follow the semantic versioning standard, FALSE if not.
check_vignettes
to identify if a package has vignettes
and how they are built, check_roxygen
to see if inline
documentation is built with roxygen2, and the package index for more
tests and checks.
1 2 3 4 5 6 7 | #Identify if ggplot2 is semantically versioned (it is)
ggplot_metadata <- get_package_metadata("ggplot2")
check_versioning(ggplot_metadata)
#Identify if fbRanks is semantically versioned (it isn't)
fbranks_metadata <- get_package_metadata("fbRanks")
check_versioning(fbranks_metadata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.