I've recently been struggling with this and found to my surprise that even 
basically empty HTML vignettes are 1Mb in size due to the extensive Javascript 
they contain. PDF vignettes are much smaller.

Perhaps this helps.
Cheers,
Boris





> On 2019-04-26, at 17:44, Jianhai Zhang <[email protected]> wrote:
> 
> Hello everyone,
> 
> I am submitting an R package to Bioconductor. I have 2 vignettes and the size 
> is 8M and 2.3M respectively. BiocCheck requires the package size is within 
> 4M, so I cannot pass the check.
> 
> The vignette size is so large since it contains many png images. I have 
> reduced the resolutions of the images and moved all images to github. In the 
> Rmd file I inserted links to these images, but the resulting package size is 
> 5.7M, still over 4M.
> 
> Anyone has suggestions to resolve the package size issue?
> 
> Thanks a lot!
> 
> Regards
> 
>       [[alternative HTML version deleted]]
> 
> _______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel

_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to