packageVersionCRAN: Latest Version of Package on CRAN

View source: R/utilities.R

packageVersionCRANR Documentation

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

Author(s)

JJB

Examples

library(gmwm)
packageVersion("gmwm")
packageVersionCRAN("gmwm")


SMAC-Group/gmwm documentation built on June 10, 2025, 6:10 a.m.