Description Usage Arguments Examples
View source: R/package_version_control.R
Retrieve the package version for the latest package available on either the CRAN or Github. Since the approval process for packages on the CRAN can lag behind the pace of development, the Github version of packages that are hosted there is likely to be more up to date. Helper methods for check_package(), update_package(), and family members.
1 2 | package_version_cran(package,
cran_url = "http://cran.r-project.org/web/packages/")
|
package |
Name of the package as a string |
cran_url |
Defaults to the CRAN's R package landing page. Does not need to be changed unless for advanced usage. |
1 2 | package_version_cran("ggplot2")
package_version_github("ShadeWilson/ihme")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.