| cran_archive | R Documentation |
Retrieve the archive and the current database.
cran_archive(packages = NULL)
packages |
A vector with packages or |
Some packages would get an NA in Version, if package_version() were to be
used with strict = FALSE.
Packages might have been on CRAN but could have been removed and won't show up.
Depending on the data requested and packages currently on CRAN, you might get
a warning regarding a package being both archived and current.
A data.frame with 6 columns: Package, Date (of publication), Version, User, size and status (archived or current). It is sorted by package name and date.
The raw source of the data is: CRAN_archive_db(),
CRAN_current_db().
For some dates and comments about archiving packages: cran_comments().
Other meta info from CRAN:
cran_alias(),
cran_comments(),
cran_history(),
cran_links()
ap <- available.packages()
a_package <- rownames(ap)[startsWith(rownames(ap), "A")][2]
ca <- cran_archive(a_package)
head(ca)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.