| export_json | R Documentation |
Export failed checks to JSON
export_json(gp, file, pretty = FALSE)
gp |
|
file |
Output connection or file. |
pretty |
Whether to pretty-print the JSON. |
Invisibly returns the path to the output file.
path <- system.file("bad1", package = "goodpractice")
g <- gp(path, checks = "description_url")
tmp <- tempfile(fileext = ".json")
export_json(g, tmp)
unlink(tmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.