Closed wesleyburr closed 3 years ago
Fixed this issue through use of BFG - https://rtyley.github.io/bfg-repo-cleaner/. Removed all large binary blobs from the history and rebased. Tried something horrible beforehand, so the commit history is a nightmare, but it's functional again now. Everything over 19MB has been removed, which is all of the packaged .tar.gz files, and the Master.rda that was 51MB. This reduces the overall repo size to 130MB.
I believe "bundled" packages (.tar packages) should be moved to the releases section of the repository. Since these files should not be subject to version control (which would also greatly reduce the size of the repository when cloning it).
https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/managing-releases-in-a-repository
Rethink the repo size and organization - releases section instead, if possible. A bit tricky because R packages have to be piped through R CMD build to get the .tar.gz, which is then a separate file, and not something that is auto-excluded from VC. Think about this.