package_metadata: Gather package metadata

View source: R/package_metadata.R

package_metadataR Documentation

Gather package metadata

Description

Gather metadata from the DESCRIPTION file of each R package and construct a data.table. By default, returns metadata for all echoverse packages.

Usage

package_metadata(
  pkgs = "echoverse",
  fields = c("Package", "Title", "Description", "URL", "Version", "Depends", "Imports",
    "Suggests", "Remotes", "SystemRequirements"),
  verbose = TRUE
)

Arguments

pkgs

Packages to gather metadata for.

fields

DESCRIPTION file fields. If a field is missing for a given package, will fill with NULL.

verbose

Print messages.

Value

data.table of metadata.

Examples

meta <- echodeps::package_metadata()

RajLabMSSM/echodeps documentation built on Oct. 31, 2023, 7:20 a.m.