Skip to content

Commit

Permalink
markdown no longer sets this option internally, so no need to empty i…
Browse files Browse the repository at this point in the history
…t now
  • Loading branch information
yihui committed Apr 3, 2024
1 parent 1575f4c commit 427cf6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils-vignettes.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ NULL
vweave = function(file, driver, syntax, encoding = 'UTF-8', quiet = FALSE, ...) {
{
on.exit({opts_chunk$restore(); knit_hooks$restore()}, add = TRUE)
oopts = options(markdown.html.header = NULL, knitr.knit2html.force_v1 = TRUE)
oopts = options(knitr.knit2html.force_v1 = TRUE)
on.exit(options(oopts), add = TRUE)
}
opts_chunk$set(error = FALSE) # should not hide errors
Expand Down

0 comments on commit 427cf6c

Please sign in to comment.