Test the calling.handlers option.

knitr::opts_chunk$set(
  calling.handlers = list(error = hnd)
)
1 + ""


yihui/knitr documentation built on May 1, 2024, 5:37 p.m.