library(dovetail) knitr::opts_chunk$set(echo = FALSE)
x <- "The cat purrrs on my lap." print(getwd()) print(knitr::opts_chunk$get("cache.path"))
```{callout cacheme, cache = TRUE, message = TRUE}
message("this chunk will not be cached") s <- Sys.time() Sys.sleep(0.1) e <- Sys.time() print(getwd())
r round(e - s, 2)
second chunk.r x
```{discussion echo = TRUE} #' This code chunk should echo itself #' ```r x #' ```
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.