powered by
Export failed checks to JSON
export_json(gp, file, pretty = FALSE)
Invisibly returns the path to the output file.
gp output.
gp
Output connection or file.
Whether to pretty-print the JSON.
Other output: print.goodPractice(), results()
print.goodPractice()
results()
path <- system.file("bad1", package = "goodpractice") g <- gp(path, checks = "description_url") tmp <- tempfile(fileext = ".json") export_json(g, tmp) unlink(tmp)
Run the code above in your browser using DataLab