ZoteroCran {c2z}R Documentation

Wrangle CRAN metadata into Zotero-type format

Description

Query CRAN by name and fetch metadata

Usage

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

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/

Value

A Zotero-type matrix (tibble)

See Also

RETRY reexports

Examples


  # 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)
  }


[Package c2z version 0.2.0 Index]