cc_debug | R Documentation |
Utility function which switches on/off debugging messages and returns the current status of debugging
cc_debug(value = NULL)
value |
Boolean (T/F or TRUE/FALSE) |
TRUE if debugging is on
#switch debugging on cc_debug(TRUE) #log something if debugging is on if(cc_debug()) { print("debugging is on") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.