Package 'pkgmeta'

Title: Find details about R packages on CRAN or github
Description: Finds meta data for all packages on CRAN that match a given author and packages contained in specified github repositories.
Authors: Rob Hyndman [aut, cre]
Maintainer: Rob Hyndman <[email protected]>
License: GPL (>= 3)
Version: 0.1.0
Built: 2024-11-13 02:57:38 UTC
Source: https://github.com/robjhyndman/pkgmeta

Help Index


Return meta data on CRAN and github packages

Description

Find meta data for all packages on CRAN that match a given author and all packages contained in a vector of github repositories and return as a tibble. Meta data on packages that are both on CRAN and github will be combined into a single row. Where meta data clash, the CRAN version is preferred when prefer_cran is TRUE, otherwise the github version is preferred.

Usage

get_meta(
  cran_author = NULL,
  include_downloads = FALSE,
  start = "2000-01-01",
  github_repos = NULL,
  prefer_cran = TRUE
)

Arguments

cran_author

Character string to find in CRAN author names

include_downloads

Should total CRAN downloads since start be added to the tibble?

start

Start date for download statistics. Ignored if include_downloads is FALSE.

github_repos

Character vector of github repos

prefer_cran

When a package is both on CRAN and github, which information should be preferenced?

Examples

get_meta(cran_author = "Hyndman")
get_meta(github_repos = c("robjhyndman/forecast", "earowang/hts"))
get_meta(cran_author = "Emi Tanaka", github_repos = c("numbats/yowie", "numbats/monash"))