Query CRAN by name and fetch metadata
Details
Please see https://oeysan.github.io/c2z/
Examples
# \donttest{
# Search cran for package `dplyr`
example <- ZoteroCran(c("dplyr", "jsonlite", "httr"))
# Print index using `ZoteroIndex`
if (any(nrow(example$data))) {
ZoteroIndex(example$data) |>
dplyr::select(name) |>
print(width = 80)
}
#> # A tibble: 3 × 1
#> name
#> <chr>
#> 1 Wickham (2023a) dplyr: A Grammar of Data Manipulation
#> 2 Wickham (2023b) httr: Tools for Working with URLs and HTTP
#> 3 Ooms (2025) jsonlite: A Simple and Robust JSON Parser and Generator for R
# }