Database of packages from Australian CRAN mirrors

oz_db(..., include_cran = FALSE)

Arguments

...

dots, ignored

include_cran

if TRUE

Value

data frame of packages from each repository

Details

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.

See also

oz_repos() for the list of mirrors used

Examples

library(dplyr)
#> #> Attaching package: ‘dplyr’
#> The following object is masked from ‘package:testthat’: #> #> matches
#> The following objects are masked from ‘package:stats’: #> #> filter, lag
#> The following objects are masked from ‘package:base’: #> #> intersect, setdiff, setequal, union
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