We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c860cc2 commit 2e8b846Copy full SHA for 2e8b846
R/html_vignette.R
@@ -77,7 +77,8 @@ html_vignette <- function(fig_width = 3,
77
}
78
79
vignette_pre_processor <- function(input_file, metadata = yaml_front_matter(input_file)) {
80
- if (!getOption(o <- 'rmarkdown.html_vignette.check_title', TRUE)) return()
+ if (!getOption(o <- 'rmarkdown.html_vignette.check_title', !knitr:::is_R_CMD_check()))
81
+ return()
82
title1 <- metadata[['title']]
83
title2 <- tools::vignetteInfo(input_file)[['title']]
84
if (!identical(title1, title2)) warning(
0 commit comments