[R-pkg-devel] checking sizes of PDF files under‘inst/doc’ ... WARNING

EcoC2S - Irucka Embry |embry @end|ng |rom ecocc@@com
Mon Dec 19 06:29:53 CET 2022


Dirk, thank you for the helpful suggestions.

Irucka


On 16-12-2022 23:34, Dirk Eddelbuettel wrote:
> On 16 December 2022 at 20:30, EcoC2S - Irucka Embry wrote:
> | While running R CMD check on my iemisc package, I receive the 
> following
> | warning:
> |
> | * checking sizes of PDF files under ‘inst/doc’ ... WARNING
> |    ‘gs+qpdf’ made some significant size reductions:
> |       compacted ‘Comparing_Manningtrap.pdf’ from 766Kb to 450Kb
> |    consider running tools::compactPDF(gs_quality = "ebook") on these
> | files
> |
> | Is there a method to have the reduction of the PDF vignettes happen
> | during the R CMD check process?
> 
> You can use '--compact-vignettes=both' when invoking R CMD build. I 
> happen to
> use the example script 'build.r' from the `littler` package I wrote 
> which
> does that for me (by calling 'tools:::.build_packages()' with that 
> argument).
> 
> Hth,  Dirk
> 
> --
> dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org

-- 
--
No fear, Only Love! / ¡No temas, solamente amor!
-Irucka Ajani Embry, 15 March 2020

Family Partners:
http://www.sustainlex.org/
https://www.schoolingsolutions.com/

---------------------------------------------------------------------------------------------------------------

The business collaboration between EConsulting (tm)
[https://www.econsultingllc.org/] and EcoC^2S, is Getting Back to 
Nature.

Getting Back to Nature LocalHarvest --
https://www.localharvest.org/getting-back-to-nature-M73453
Getting Back to Nature -- https://www.gettingback2nature.farm/

-- Irucka and his twin brother, Obiora, are featured in the Middle
Tennessee Local Table Magazine Annual issue. The article discusses their
family farm history and the current work that they are doing under 
Getting
Back to Nature. The full magazine can be found here [the article begins 
on
page 18 of the PDF document]:

https://media.gettingback2nature.farm/pdf/LocalTable_ANNUAL_2020_lo_res.pdf

-- Obiora and Irucka were interviewed separately in early 2020 for the
Natural Resources Defense Council's (NRDC) "Regenerative Agriculture: 
Farm
Policy for the 21st Century: Policy Recommendations to Advance 
Regenerative
Agriculture" report written By Arohi Sharma, Lara Bryant, and Ellen Lee.
The PDF report is available below:

https://www.nrdc.org/sites/default/files/regenerative-agriculture-farm-policy-21st-century-report.pdf

EcoC2S -- https://www.ecoccs.com/
Principal, Irucka Embry, EIT

Services:
Growing Food
Healthy Living Mentor
Data Analysis with R
R Training
Chemistry and Mathematics Tutoring
Free/Libre and Open Source Software (FLOSS) Consultation



More information about the R-package-devel mailing list