Learn R Programming

gmwm (version 2.0.0)

packageVersionCRAN: Latest Version of Package on CRAN

Description

Determines the version number on cran via obtaining the packages page

Usage

packageVersionCRAN(pkg, cran_url = "http://cran.r-project.org/web/packages/")

Arguments

pkg
Name of Package
cran_url
URL to CRAN Packages

Value

A vector of strings that contain:
  • the verison of the package on cran
  • release date of the package on cran

Examples

Run this code
library(gmwm)
packageVersion("gmwm")
packageVersionCRAN("gmwm")

Run the code above in your browser using DataLab