R/hooks.R

Defines functions setup_hooks

setup_hooks <- function() {
  old_output <- knitr::knit_hooks$get("output")
  knitr::knit_hooks$set(output = function(x, options) old_output(x, options))
}

Try the rim package in your browser

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

rim documentation built on Aug. 24, 2023, 5:09 p.m.