Re: [Bioc-devel] Vignette files causing package to exceed 5 MB size limit
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-is-a-resolution-multiplier Best, Boyi On Fri, Oct 6, 2023 at 12:28 PM Richard Heery wrote: > 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 building vignettes, would that be considered small enough to pass > or must the size of the vignettes be counted as part of the package size? > > Cheers, > > Richard > > [[alternative HTML version deleted]] > > ___ > Bioc-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/bioc-devel > [[alternative HTML version deleted]] ___ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel
Re: [Bioc-devel] Vignette files causing package to exceed 5 MB size limit
Sorry about that. I had two emails back to back and responded to the wrong one. Is there a way to create and save and compress the images? Lori Shepherd - Kern Bioconductor Core Team Roswell Park Comprehensive Cancer Center Department of Biostatistics & Bioinformatics Elm & 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 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 building vignettes, would that be considered small enough to pass or must the size of the vignettes be counted as part of the package size? Cheers, Richard [[alternative HTML version deleted]] ___ Bioc-devel@r-project.org mailing list https://secure-web.cisco.com/1STNh8T-h97kGGbO0O1NbO1XiUCAxBSn9G6a3TLT1LDe2Z1Urd_KfhISAo-P1rjJ_TVfdbIVwNKVFD8FtUIs8YibWaADtLNgcUOBMAzIYb2hwf-IDsQHsg27gGCizy3pblywubD2noOU-N9ZiWzlQ7F_hIgcZ_VKuKWgG6A5prPmtP9GhGGHOqRi7zDcDhtIpKNRpferv89u-1LZg3fJE_V76uWDTb1X3AiJH4kvymdwZxcW-xCFywGh1UlHodQdM1dl9G38YSDZUef5SV3p5XrSteOaKYaN1-srWDmyI7fKal93LyI74g92wqmsDJya6/https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fbioc-devel This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you. [[alternative HTML version deleted]] ___ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel
Re: [Bioc-devel] Vignette files causing package to exceed 5 MB size limit
The data is now available in the hub > query(eh, "TumourMethData") ExperimentHub with 4 records # snapshotDate(): 2023-10-06 # $dataprovider: University of California San Francisco, Washington Universi... # $species: Homo sapiens # $rdataclass: RangedSummarizedExperiment # additional mcols(): taxonomyid, genome, description, # coordinate_1_based, maintainer, rdatadateadded, preparerclass, tags, # rdatapath, sourceurl, sourcetype # retrieve records with, e.g., 'object[["EH8424"]]' title EH8424 | tcga_wgbs_hg38 EH8525 | mcrpc_wgbs_hg38 EH8526 | cpgea_wgbs_hg38 EH8527 | cao_esophageal_wgbs_hg19 > Lori Shepherd - Kern Bioconductor Core Team Roswell Park Comprehensive Cancer Center Department of Biostatistics & Bioinformatics Elm & 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 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 building vignettes, would that be considered small enough to pass or must the size of the vignettes be counted as part of the package size? Cheers, Richard [[alternative HTML version deleted]] ___ Bioc-devel@r-project.org mailing list https://secure-web.cisco.com/1STNh8T-h97kGGbO0O1NbO1XiUCAxBSn9G6a3TLT1LDe2Z1Urd_KfhISAo-P1rjJ_TVfdbIVwNKVFD8FtUIs8YibWaADtLNgcUOBMAzIYb2hwf-IDsQHsg27gGCizy3pblywubD2noOU-N9ZiWzlQ7F_hIgcZ_VKuKWgG6A5prPmtP9GhGGHOqRi7zDcDhtIpKNRpferv89u-1LZg3fJE_V76uWDTb1X3AiJH4kvymdwZxcW-xCFywGh1UlHodQdM1dl9G38YSDZUef5SV3p5XrSteOaKYaN1-srWDmyI7fKal93LyI74g92wqmsDJya6/https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fbioc-devel This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you. [[alternative HTML version deleted]] ___ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel