fetch = function(var) {
value = Sys.getenv(var)
if(value == '') stop(var, ' is not set. Add to .Renviron')
value
}
source_dir = function() fetch("SOURCE_DIR")
processed_dir = function() fetch("PROCESSED_DIR")
shared_dir = function() fetch('SHARED_DIR')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.