Permalink
Browse files

check_r_cmd: if no pdflatex, don't build manual

  • Loading branch information...
1 parent 8287282 commit 72ce098266260bd810d8f4b7d1eddac67f8caffc @wch wch committed Dec 16, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 R/check.r
View
@@ -64,9 +64,9 @@ check_r_cmd <- function(built_path = NULL, cran = TRUE, check_version = FALSE,
opts <- "--timings"
if (!nzchar(Sys.which("pdflatex"))) {
- message("pdflatex not found! Not building PDF vignettes.\n",
- "If you are planning to release this package, please run a check with vignettes beforehand.\n")
- opts <- c(opts, "--no-rebuild-vignettes")
+ message("pdflatex not found! Not building PDF manual or vignettes.\n",
+ "If you are planning to release this package, please run a check with manual and vignettes beforehand.\n")
+ opts <- c(opts, "--no-rebuild-vignettes", "--no-manual")
}
opts <- paste(paste(opts, collapse = " "), paste(args, collapse = " "))

0 comments on commit 72ce098

Please sign in to comment.