On 4/21/2013 1:47 PM, Uwe Ligges wrote: >> Since vignettes are re-built from sources and then installed into >> inst/doc, I don't see why >> PDF compaction cannot be run as part of the build process. That is, if >> R CMD check --as-cran detects a problem, shouldn't there be some >> option for >> R CMD build that would run gs+qpdf to correct it? > > Yes, see > > R CMD build --help > > > that tells you > > --compact-vignettes= try to compact PDF files under inst/doc: > "no" (default), "qpdf", "gs", "gs+qpdf", "both" I meant that perhaps R-Forge and CRAN could *automatically* do the compaction.
I *do* run R CMD build on my machine with options --compact-vignettes=qpdf --keep-empty-dirs --resave-data giving the log info: * checking for file 'C:/Documents/workspace/heplots/DESCRIPTION' ... OK * preparing 'heplots': * checking DESCRIPTION meta-information ... OK * installing the package to re-build vignettes * creating vignettes ... OK * compacting vignettes and other PDF files * checking for LF line-endings in source and make files * checking for empty or unneeded directories * looking to see if a 'data/datalist' file should be added * re-saving image files * building 'heplots_1.0-9.tar.gz' However: (a) the heplots_1.0-9.tar.gz source package is built outside of the workspace source tree I sync with R-Forge (b) when I examine the heplots_1.0-9.tar.gz source package, the file heplots/inst/doc/HE-examples has not been modified in size. So, I still don't know how to correct this on my end. -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. & Chair, Quantitative Methods York University Voice: 416 736-2100 x66249 Fax: 416 736-5814 4700 Keele Street Web: http://www.datavis.ca Toronto, ONT M3J 1P3 CANADA [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel