createJSON: Create JSON representation of package information

Description Usage Arguments Value Author(s) See Also

View source: R/pkgJSON.R

Description

Create JSON representation of package information

Usage

1
2
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

Author(s)

Dinakar Kulkarni <kulkard2@gene.com>

See Also

manifest_df for generating scm_df and generateDescInfo for generating descr_df.


GRANBase documentation built on Feb. 6, 2020, 5:09 p.m.