Learn R Programming

GRANBase (version 2.6.20)

createJSON: Create JSON representation of package information

Description

Create JSON representation of package information

Usage

createJSON(repo, pkg_name, descr_df, scm_df, docdir, rev_deps,
  suffix = paste0("_", descr_df$Version, ".json"))

Arguments

repo

A GRAN repo object

pkg_name

Name of the GRAN package

descr_df

data.frame representation of DESCRIPTION file

scm_df

data.frame representation of GRAN manifest object

docdir

Directory where the JSON doc will be written

rev_deps

data.frame representing pkg_name's reverse deps

suffix

Suffix for the JSON file

Value

None. Write JSON file to disk

See Also

manifest_df for generating scm_df and generateDescInfo for generating descr_df.