Description Usage Arguments Details Value
View source: R/validate_config.R
This takes a character vector of text from a config file (such as that produced by readLines) and validates the json
1 |
text |
chracter vector (1 line per element) of a Rmd or md config file |
We assume that config files
optionally begin with a single R code chunk on the first line
there is no content before the json starts other than the single optional code chunk
the first non-json line following the json begins with a #
TRUE or FALSE indicating if the json is valid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.