Description Usage Arguments Details Value Author(s) Examples
Compare package versions on CRAN and GitHub.
1 | compare_versions(package)
|
package |
character, name of the package |
compare_versions()
parses the package's index.html on CRAN and looks for the current version as well as URL to a GitHub repo. If the latter is found, compare_versions()
tries to read to current package version from the DESCRIPTION file in the repo.
data.frame
Philipp Ottolinger
1 2 3 4 | #library(compareVersions)
compare_versions("LexisPlotR")
compare_versions("ggplot2")
compare_versions("dplyr")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.