Skip to content

Commit

Permalink
revert 87d094a per request from CRAN maintainers, since _R_CHECK_VIGN…
Browse files Browse the repository at this point in the history
…ETTES_SKIP_RUN_MAYBE_=true has been made the default
  • Loading branch information
yihui committed Feb 8, 2024
1 parent e2b099a commit d0d1b47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: knitr
Type: Package
Title: A General-Purpose Package for Dynamic Report Generation in R
Version: 1.45.11
Version: 1.45.12
Authors@R: c(
person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")),
person("Abhraneel", "Sarma", role = "ctb"),
Expand Down
7 changes: 0 additions & 7 deletions R/utils-vignettes.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ vweave = function(file, driver, syntax, encoding = 'UTF-8', quiet = FALSE, ...)
}

vtangle = function(file, ..., encoding = 'UTF-8', quiet = FALSE) {
# a hack to generate an empty R script to cheat R CMD check because purl() is
# not reliable (#2052, #2036)
if (xfun::is_R_CMD_check() && !file.exists(with_ext(file, 'Rout.save'))) {
file = with_ext(file, '.R')
file.create(file)
return(file)
}
purl(file, encoding = encoding, quiet = quiet, ...)
}

Expand Down

0 comments on commit d0d1b47

Please sign in to comment.