[Bioc-devel] Bioconductor Package Submission - Removing git pack objects
Manders-2, F.M.
F@M@M@nder@ @end|ng |rom pr|n@e@m@x|m@centrum@n|
Fri Aug 14 13:40:41 CEST 2020
Hi Joseph,
When you run 'R CMD build' you should get a release tarball, which shouldn't contain this .git folder. If you perform the 'R CMD check' on the tarball, you shouldn't get this warning. If you still get the warning, or have other files that generate this warning, then you could try to add them to a '.Rbuildignore' file.
I hope this helps,
Freek Manders
On 14/08/2020, 13:26, "Bioc-devel on behalf of Joseph Lee Jing Xian" <bioc-devel-bounces using r-project.org on behalf of joseph.lee using u.nus.edu> wrote:
To whom it may concern:
I am Joseph, writing on behalf of the developers of proActiv<https://github.com/GoekeLab/proActiv>, a package used to infer promoter activity from RNA-seq data.
We are in the process of preparing the package for Biconductor submission. So far, the package has cleared R CMD check with no errors or warnings, and cleared R CMD BiocCheck with no errors. However, we're still getting one warning from R CMD BiocCheck regarding individual file size. In particular, we have a couple of offending files (.bed, .rda), one of them being a git pack object (.pack).
We have followed the suggested pipeline to remove large files with BFG Repo-cleaner:
> git clone --mirror https://github.com/GoekeLab/proActiv.git
> java -jar bfg-1.13.0.jar --strip-blobs-bigger-than 5M --no-blob-protection proActiv.git
> cd proActiv.git
> git reflog expire --expire=now --all && git gc --prune=now --aggressive
This removes the individual files (e.g. .bed, .rda) in commit history that were bigger than the stipulated 5M limit, as expected.
However, cloning the package locally from the bare repository and running R CMD BiocCheck on it still throws the same warning, but with the git pack object as the only offending file.
How should one go about dealing with hidden git pack objects so that the Bioconductor checks can be passed successfully?
Thanks,
Joseph
[[alternative HTML version deleted]]
_______________________________________________
Bioc-devel using r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel
More information about the Bioc-devel
mailing list