.is_knitting | R Documentation |
Check if the current code is being executed during document knitting
.is_knitting()
TRUE if the whole document is being knitted. FALSE if running in chunk in RStudio, or otherwise outside of a knitr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.