View source: R/crandb-public-api.R
cran_packages | R Documentation |
Metadata about multiple CRAN packages
cran_packages(names)
names |
Package names. May also contain versions, separated by a
|
A data frame of package metadata, one package per row.
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.