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

Installation failed #142

Open
timz0605 opened this issue Mar 5, 2024 · 1 comment
Open

Installation failed #142

timz0605 opened this issue Mar 5, 2024 · 1 comment

Comments

@timz0605
Copy link

timz0605 commented Mar 5, 2024

Hello!

I was trying to install the package using BiocManager::install("rhdf5"), but have been encountering this issue. I am trying to install the package through R 4.2.1 on HPC. Even though I specified the version using the command BiocManager::install("rhdf5", version = "3.16"), I still could not install the package successfully. Would appreciate any help!

ERROR: compilation failed for package ‘Rhdf5lib’
* removing ‘/home/mjzhang/R_libs/4.2.1/Rhdf5lib’
ERROR: dependency ‘Rhdf5lib’ is not available for package ‘rhdf5filters’
* removing ‘/home/mjzhang/R_libs/4.2.1/rhdf5filters’
ERROR: dependencies ‘Rhdf5lib’, ‘rhdf5filters’ are not available for package ‘rhdf5’
* removing ‘/home/mjzhang/R_libs/4.2.1/rhdf5’

The downloaded source packages are in
        ‘/tmp/RtmpzeUlHS/downloaded_packages’
Installation paths not writeable, unable to update packages
  path: /share1/R/4.2.1/lib64/R/library
  packages:
    boot, brew, callr, class, cluster, codetools, commonmark, config, curl,
    data.table, DBI, digest, foreign, geometries, geometry, glue, httpuv,
    KernSmooth, lattice, lifecycle, lpSolve, MASS, Matrix, mgcv, nlme, nnet,
    pkgload, pkgmaker, ps, Rcpp, RcppTOML, reticulate, rJava, rlang, rlecuyer,
    Rmpi, roxygen2, rpart, rprojroot, rstudioapi, s2, sf, sfheaders, snowfall,
    spatial, stringi, stringr, survival, tensorflow, tfruns, usethis, V8,
    withr, xfun, yaml, zip
Warning messages:
1: In install.packages(...) :
  installation of package ‘Rhdf5lib’ had non-zero exit status
2: In install.packages(...) :
  installation of package ‘rhdf5filters’ had non-zero exit status
3: In install.packages(...) :
  installation of package ‘rhdf5’ had non-zero exit status
@grimbough
Copy link
Owner

Hi,

It looks like the package affected is actually Rhdf5lib, and because that can't be installed you then can't use rhdf5.

To figure out what's going wrong with Rhdf5lib I'll need to see quite a bit more of the installation output. Can you try running this command below, and then share all the output that appears on the screen. There will be quite a lot, but hopefully it'll contain the underlying problem:

BiocManager::install('Rhdf5lib')

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