collapse = TRUE,
  comment = "#>"

Vignettes are long form documentation commonly included in packages. Because they are part of the distribution of the package, they need to be as compact as possible. The html_vignette output type provides a custom style sheet (and tweaks some options) to ensure that the resulting html is as small as possible. The html_vignette format:

Vignette Info

set_cl(fork_cluster, n_nodes = 2L)
dat <- rddt(
  a = rnorm(n = 1e5),
  b = sample(letters, size = 1e5, TRUE)

nbenn/rddt documentation built on May 7, 2019, 3:10 p.m.