Learn R Programming

c2z (version 0.2.0)

ZoteroCran: Wrangle CRAN metadata into Zotero-type format

Description

Query CRAN by name and fetch metadata

Usage

ZoteroCran(id, meta = list(), silent = TRUE, log = list())

Value

A Zotero-type matrix (tibble)

Arguments

id

name of R package

meta

A list collecting all metadata used to create , Default: list()

silent

c2z is noisy, tell it to be quiet, Default: TRUE

log

A list for storing log elements, Default: list()

Details

Please see https://oeysan.github.io/c2z/

See Also

Examples

Run this code
# \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)
  }
# }

Run the code above in your browser using DataLab