[Bioc-devel] package size issue

Martin Morgan mtmorg@n@b|oc @end|ng |rom gm@||@com
Tue Apr 30 22:12:54 CEST 2019


It's not appropriate to 'split' your package between the bioconductor git repository and other locations on the internet; you should carefully revise your vignette to convey high quality information within the constraints of Bioconductor's guidelines.

Martin

On 4/30/19, 1:55 PM, "Bioc-devel on behalf of Jianhai Zhang" <bioc-devel-bounces using r-project.org on behalf of zhang.jianhai using hotmail.com> wrote:

    Hello Boris and Herve,
    
    Thanks for your suggestion!
    
    I have checked out the size difference between pdf and html. The pdf vignette size is indeed much smaller, but pdf cannot use url to refer to online images. I have 90 images in the vignette. To reduce size, I hosted them on github and want to insert them via url. If I use pdf vignette I have to copy these images in local, and the final package size increases again.
    
    Regards,
    Jianhai
    
    ________________________________
    From: Pages, Herve <hpages using fredhutch.org>
    Sent: Friday, April 26, 2019 11:04 PM
    To: Boris Steipe; Jianhai Zhang
    Cc: bioc-devel
    Subject: Re: [Bioc-devel] package size issue
    
    Interesting observation Boris.
    
    The software packages currently have 1261 pdf vignettes and 983 html
    vignettes in BioC 3.9. Here are some quick stats that confirm Boris'
    observation (sizes are in bytes):
    
     > summary(pdf.sizes)
         Min.  1st Qu.   Median     Mean  3rd Qu.     Max.
         5267   156919   225146   454966   411965 26385420
    
     > summary(html.sizes)
         Min.  1st Qu.   Median     Mean  3rd Qu.     Max.
          663   641812   929989  1607509  1785061 83352286
    
     > length(pdf.sizes)
    [1] 1261
    
     > length(html.sizes)
    [1] 983
    
    The pdf vignettes are almost 4x bigger than the html ones in average.
    
    H.
    
    
    On 4/26/19 15:18, Boris Steipe wrote:
    > 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 <zhang.jianhai using hotmail.com> 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]]
    >>
    >> _______________________________________________
    >> Bioc-devel using r-project.org mailing list
    >> https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_bioc-2Ddevel&d=DwIFAg&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=GxP9qOJBgoGFWMFtNbijae7IUDd9Uk_XxbkkPvuUb6c&s=KOY4k4tkmzp0iGe2hrvS_3pBlmg9QytYX3boBj9OUhc&e=
    > _______________________________________________
    > Bioc-devel using r-project.org mailing list
    > https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_bioc-2Ddevel&d=DwIFAg&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=GxP9qOJBgoGFWMFtNbijae7IUDd9Uk_XxbkkPvuUb6c&s=KOY4k4tkmzp0iGe2hrvS_3pBlmg9QytYX3boBj9OUhc&e=
    
    --
    Herv� Pag�s
    
    Program in Computational Biology
    Division of Public Health Sciences
    Fred Hutchinson Cancer Research Center
    1100 Fairview Ave. N, M1-B514
    P.O. Box 19024
    Seattle, WA 98109-1024
    
    E-mail: hpages using fredhutch.org
    Phone:  (206) 667-5791
    Fax:    (206) 667-1319
    
    
    	[[alternative HTML version deleted]]
    
    


More information about the Bioc-devel mailing list