tmpdir <- tempfile() # yes, `tempfile()` not `tempdir()`
message("setting cache root to: ", tmpdir)
options(cacher.root = tmpdir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.