Learn R Programming

GRANBase (version 1.6.8)

createJSON: Create JSON representation of package information

Description

Create JSON representation of package information

Usage

createJSON(repo, pkg_name, descr_df, scm_df, docdir, suffix = paste0("_",
  descr_df$Version, "-desc.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

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.