Test the calling.handlers option.

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


yihui/knitr documentation built on July 17, 2024, 3:10 a.m.