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


tjtnew/coffee documentation built on Dec. 23, 2021, 11 a.m.