Learn R Programming

rworkflows (version 1.0.6)

dt_to_desc: 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)

Value

A named list of desc objects.

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.

Examples

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

Run the code above in your browser using DataLab