Example Report

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"
}


Try the reportfactory package in your browser

Any scripts or data that you put into this service are public.

reportfactory documentation built on Aug. 9, 2021, 5:07 p.m.