Template output showcase

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  echo = FALSE,
  warning = FALSE,
  message = FALSE
)
library(rjtools)
library(rmarkdown)

The source files to create an html and pdf sample article are available here. The rendered pdf output can be viewed here and below is the html:

# webshot2::webshot(here::here("inst/sample-article/article.html"),
#                   file = here::here("vignettes/figures/webshot.png"),
#                   delay = 1, zoom = 4, vwidth = 1000, vheight = 300)
knitr::include_graphics("figures/webshot.png")


Try the rjtools package in your browser

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

rjtools documentation built on Oct. 7, 2023, 9:08 a.m.