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

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")
#> Constructing DESCRIPTION files for 1 R package(s).
#> Constructing DESCRIPTION for: ABSSeq