Output R object in JSON format.
saveReportJSON(x, task, type, ext = "json", subdir = NULL, dirCreate = TRUE)
the file name invisibly.
R object to output.
Object of class D4TAlinkTask
, as created by initTask
.
Filename type. If the type is an array, the cocatenation of the elements is used with separator"-". Filenames have the form [task name]_[type].[ext]
Filename extension.
(optional) Subdirectory.
Logical, if TRUE (by default) the directory is created.