suppressPackageStartupMessages({
  suppressMessages({
    suppressWarnings({
      library("knitr")
      library("htmltools")
    })
  })
})


knitr::opts_chunk$set(
  comment = "#>",
  collapse = TRUE,
  warning = FALSE,
  message = FALSE,
  imgcenter = TRUE, 
  fig.width = 6,
  fig.height = 4,
  out.width="50%", 
  dpi = 96, 
  fig.retina=1,
  cache.path = "../inst/cache/"
)
knitr::knit_hooks$set(imgcenter = function(before, options, envir){
  if (before) {
    HTML("<p align='center'>")
  } else {
    HTML("</p>")
  }
})
readme <- FALSE



Dralliag/opera documentation built on Jan. 31, 2023, 1:08 p.m.