Nothing
knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, fig.width = 8, fig.height = 6, dpi = 70)
base::mean(c(1,2))
This is an example report to illustrate how reportfactory
can be used.
It loads the fs
library purely for demonstration purposes.
library(fs) if (params$graph) { plot(1:10, 1:10) } else { "No plot here" }
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.