dt_to_desc: data.table to desc

View source: R/dt_to_desc.R

dt_to_descR Documentation

data.table to desc

Description

Convert data.table containing the parsed DESCROPTION file data and convert each of them to to desc format.

Usage

dt_to_desc(db, refs = NULL, verbose = TRUE)

Arguments

db

A data.table where each row is a different R package and each column is a field from the DESCROPTION file.

refs

Reference for one or more GitHub repository in owner/repo format (e.g."neurogenomics/rworkflows"), or an R package name (e.g. "rworkflows").

verbose

Print messages.

Value

A named list of desc objects.

Examples

#### Updated data ####
# db <- BiocPkgTools::biocPkgList()
#### Static data ####
 db <- rworkflows::biocpkgtools_db
 dl <- dt_to_desc(db=db, refs="ABSSeq")

rworkflows documentation built on Nov. 2, 2023, 5:21 p.m.