createJSON: Create JSON representation of package information

View source: R/pkgJSON.R

createJSONR Documentation

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

Author(s)

Dinakar Kulkarni <kulkard2@gene.com>

See Also

manifest_df for generating scm_df and generateDescInfo for generating descr_df.


gmbecker/gRAN documentation built on July 5, 2023, 11:05 p.m.