Skip to content

Commit

Permalink
Improve reporting PDF size reductions. By Ivan Krylov.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@85266 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
hornik committed Oct 4, 2023
1 parent 1693e28 commit 7df4d87
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/library/tools/R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -3079,7 +3079,8 @@ add_dummies <- function(dir, Log)
" 'qpdf' made some significant size reductions:\n",
paste(" ", res, collapse = "\n"),
"\n",
" consider running tools::compactPDF() on these files\n")
" consider running tools::compactPDF() on these files,\n",
" or build the source package with --compact-vignettes\n")
}
if (R_check_doc_sizes2) {
gs_cmd <- find_gs_cmd()
Expand All @@ -3093,7 +3094,8 @@ add_dummies <- function(dir, Log)
" 'gs+qpdf' made some significant size reductions:\n",
paste(" ", res, collapse = "\n"),
"\n",
' consider running tools::compactPDF(gs_quality = "ebook") on these files\n')
' consider running tools::compactPDF(gs_quality = "ebook") on these files,\n',
' or build the source package with --compact-vignettes=both\n')
}
} else {
if (!any) noteLog(Log)
Expand Down

0 comments on commit 7df4d87

Please sign in to comment.