knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, fig.width = 8, fig.height = 6, dpi = 70)
This is an example report to work with .deps()
tests.
It loads the clipr
library purely for demonstration purposes.
It should flag base
as a package due to r base::sum(1,2)
.
It should flag gert
as a package due to r gert:::is_windows()
library(clipr) if (params$graph) { plot(1:10, 1:10) } else { "No plot here" }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.