Tags: rstudio/rticles
Tags
Add render-based test for the oup_article pre_knit hook (#603) The direct `fmt$pre_knit(...)` unit test verifies the warning logic but not that rmarkdown actually invokes the hook with the parsed YAML metadata. Add a knit-only render (run_pandoc = FALSE) of an Rmd whose YAML sets `authormark`, asserting the warning surfaces — covers the hook-wiring contract regardless of rmarkdown internals. Skips when pandoc <2.10 (the format already requires it).
PreviousNext