Learn R Programming

pkgsearch (version 3.1.5)

cran_package: Metadata about a CRAN package

Description

Metadata about a CRAN package

Usage

cran_package(name, version = NULL)

Value

The package metadata, in a named list.

Arguments

name

Name of the package.

version

The package version to query. If NULL, the latest version if returned.

Examples

Run this code
if (FALSE) { # identical(Sys.getenv("IN_PKGDOWN"), "true")
cran_package("pkgsearch")
}

Run the code above in your browser using DataLab