cran_packages: Metadata about multiple CRAN packages

View source: R/crandb-public-api.R

cran_packagesR Documentation

Metadata about multiple CRAN packages

Description

Metadata about multiple CRAN packages

Usage

cran_packages(names)

Arguments

names

Package names. May also contain versions, separated by a @ character.

Value

A data frame of package metadata, one package per row.

Examples


# Get metadata about one package
cran_packages("rhub")
# Get metadata about two packages
cran_packages(c("rhub", "testthat"))
# Get metadata about two packages at given versions
cran_packages(c("rhub@1.1.1", "testthat@2.2.1", "testthat@2.2.0"))
# If a version does not exist nothing is returned
cran_packages("rhub@notaversion")


r-hub/pkgsearch documentation built on Sept. 28, 2024, 10:55 p.m.