Database of packages from Australian CRAN mirrors
oz_db(..., include_cran = FALSE)
... | dots, ignored |
---|---|
include_cran | if |
data frame of packages from each repository
The data returned is from tools::CRAN_package_db()
and not utils::available.packages()
, but with the
duplicated "MD5Sums" column removed (which breaks tibble/dplyr.) There is an added column repos
which
is the name for the address provided above.
oz_repos()
for the list of mirrors used
library(dplyr)#> #>#>#> #>#>#> #>#>#> #>oz_db() %>% group_by(repos) %>% summarize(n = n(), date = max(as.Date(Published), na.rm = TRUE)) %>% arrange(desc(date))#> # A tibble: 6 x 3 #> repos n date #> <chr> <int> <date> #> 1 aws 14594 2019-07-22 #> 2 private 14594 2019-07-22 #> 3 curtin 14594 2019-07-21 #> 4 aarnet 14569 2019-07-15 #> 5 csiro 14569 2019-07-15 #> 6 unimelb 14567 2019-07-15