Code
as_flag("boo", FALSE)
Condition
Warning in `as_flag()`:
Invalid option value: `boo`, must be TRUE or FALSE
Output
[1] FALSE
Code
as_flag("boo", TRUE, "thisthat")
Condition
Warning in `as_flag()`:
Invalid `thisthat` option value: `boo`, must be TRUE or FALSE
Output
[1] TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.