Can you try to add ` fig.retina = NULL` in your `knitr::opts_chunk$set()`
setting?
That helped me to reduce the size of images in image-heavy vignettes.
Source:
http://zevross.com/blog/2017/06/19/tips-and-tricks-for-working-with-images-and-figures-in-r-markdown-documents/#the-fig.retina-argument-
Carlton Streets
Buffalo, New York 14263
From: Bioc-devel on behalf of Richard Heery
Sent: Friday, October 6, 2023 12:28 PM
To: bioc-devel@r-project.org
Subject: [Bioc-devel] Vignette files causing package to exceed 5 MB size limit
Hi all,
My package tarball is onl
ioc-devel on behalf of Richard Heery
Sent: Friday, October 6, 2023 12:28 PM
To: bioc-devel@r-project.org
Subject: [Bioc-devel] Vignette files causing package to exceed 5 MB size limit
Hi all,
My package tarball is only 4.4 MB when I build it without building the
vignettes. However, it incr
Hi all,
My package tarball is only 4.4 MB when I build it without building the
vignettes. However, it increases to 7 MB when I build the vignettes. My
vignette is a html_document that creates several images and is 3.8 MB
uncompressed so quite large. Since my package is under the 5 MB limit
without