R/auto-set-format.R

Defines functions auto_set_format

# nocov start
auto_set_format <- function() {
  if (knitr::is_latex_output()) {
    options(knitr.table.format = "latex")
  } else {
    options(knitr.table.format = "html")
  }
}
# nocov end

Try the ratlas package in your browser

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

ratlas documentation built on April 4, 2025, 12:22 a.m.