From 427cf6cf5b72c7446fea1f796f0ab6c63e5b3f0a Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Wed, 3 Apr 2024 09:02:55 -0500 Subject: [PATCH] markdown no longer sets this option internally, so no need to empty it now --- R/utils-vignettes.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils-vignettes.R b/R/utils-vignettes.R index f41600b6d0..2cfb13b467 100644 --- a/R/utils-vignettes.R +++ b/R/utils-vignettes.R @@ -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