Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L, : storing paths of more than 100 bytes is not portable: #10

Open
bschilder opened this issue Mar 13, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bschilder
Copy link
Member

When installing echolocatoR, you'll probably see a long list of warnings like this:

...
...
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
   storing paths of more than 100 bytes is not portable:echolocatoR/inst/tools/PAINTOR_V3.0/eigen/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.hWarning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
   storing paths of more than 100 bytes is not portable:echolocatoR/inst/tools/goshifter/test_data/bc.H3K4me1_vHMEC_strat_Myoepithelial_Cells.nperm1000.enrich

This is coming from the fact that R doesn't like the folder naming scheme of some of the submodules echolocatoR depends on, specifically:

The only way I've come across to address this would be to fork my own version of these repos and rewrite the code so it uses a different directory structure. But this runs a very high risk of messing up these software entirely. So until I can figure out a smarter solution, we'll have to bear with loads of warning messages 😞

Sources

@bschilder bschilder added the enhancement New feature or request label Mar 13, 2021
@bschilder bschilder self-assigned this Mar 13, 2021
@bschilder bschilder transferred this issue from RajLabMSSM/echolocatoR Aug 27, 2022
@bschilder
Copy link
Member Author

bschilder commented Sep 10, 2022

I found a way around this by adding these repos as git submodules.

The software is then installed the first time a function that uses it is run.
This strategy is currently implemented for:

  • PAINTOR: via echofinemap
  • PolyFun: via echofinemap
  • GOSHIFTER: via echoannot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant