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

Error installing FigR #40

Open
acaulier opened this issue Dec 14, 2023 · 1 comment
Open

Error installing FigR #40

acaulier opened this issue Dec 14, 2023 · 1 comment

Comments

@acaulier
Copy link

acaulier commented Dec 14, 2023

Hello,

I am trying to install FigR on my virtual machine (Terra) that uses R v4.3.2, either with devtools::install_github("buenrostrolab/FigR") or remotes::install_github("buenrostrolab/FigR") and i get those warnings that eventually prevent from installing the package:

Skipping 5 packages not available: ComplexHeatmap, chromVAR, GenomicRanges, SummarizedExperiment, motifmatchr

── R CMD build ─────────────────────────────────────────────────────────────────
* checking for file ‘/tmp/RtmpgcRhRG/remotes9820234dab/buenrostrolab-FigR-094f5aa/DESCRIPTION’ ... OK
* preparing ‘FigR’:
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘FigR_0.1.0.tar.gz’
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
  storing paths of more than 100 bytes is not portable:
  ‘FigR/docs/deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkaVQ.woff’
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
  storing paths of more than 100 bytes is not portable:
  ‘FigR/docs/deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkWVAexg.woff’
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
  storing paths of more than 100 bytes is not portable:
  ‘FigR/docs/deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkaVQ.woff’
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
  storing paths of more than 100 bytes is not portable:
  ‘FigR/docs/deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWVAexg.woff’
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
  storing paths of more than 100 bytes is not portable:
  ‘FigR/docs/deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjaVQ.woff’
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
  storing paths of more than 100 bytes is not portable:
  ‘FigR/docs/deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjWVAexg.woff’
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
  storing paths of more than 100 bytes is not portable:
  ‘FigR/docs/deps/bootstrap-5.1.0/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVQ.woff’
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
  storing paths of more than 100 bytes is not portable:
  ‘FigR/docs/deps/bootstrap-5.1.0/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVQ.woff’
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
  storing paths of more than 100 bytes is not portable:
  ‘FigR/docs/deps/bootstrap-5.1.0/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVQ.woff’

As a result i get the final warning Warning message in i.p(...): “installation of package ‘/tmp/RtmpgcRhRG/file981ee96699/FigR_0.1.0.tar.gz’ had non-zero exit status” and i cannot then import Library(FigR)

Any tips to troubleshoot it and get it work?

Thanks,

@vkartha
Copy link

vkartha commented Dec 26, 2023

Hmm, that's a bit strange. Sometimes it won't automatically install package dependencies that are from a source other than CRAN (e.g. Bioconductor / Github).

Can you first check whether you have those packages prompted at the top, and if not, install those packages first:

For chromVAR (should also install GenomicRanges / SummarizedExperiment):
BiocManager::install("chromVAR")

motifmatchr:
BiocManager::install("motifmatchr")

ComplexHeatmap:
BiocManager::install("ComplexHeatmap")

And try re-installing FigR again, after you can confirm you're able to load the above packages fine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants