View source: R/cran_packages.R
n_available_packages | R Documentation |
Obtain the number of available packages on CRAN and the current R version.
n_available_packages(cran = getOption("repos"))
available_r_version(cran = getOption("repos"))
cran |
character vector giving the base URL of the CRAN server to use. |
The number of packages on CRAN and the R version can be obtained for selected
dates in the past from the dataset cran_history
.
Note: Previously, these functions could obtain the number of packages on CRAN and the then current R version also for past dates by using snapshots from Microsoft's MRAN. However, MRAN shut down on 1 July 2023 such that this functionality is no longer available.
the number of available packages as an integer or the R version number as a character
cran_history
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.