revodavid / devcontainers-rstudio

Zero-setup R workshops with GitHub Codespaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot install lumi package

crhywun opened this issue · comments

cram/cram_io.c:53:10: fatal error: bzlib.h: No such file or directory
53 | #include <bzlib.h>
| ^~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.Rhtslib:135: cram/cram_io.o] Error 1
make[1]: Leaving directory '/tmp/RtmpUB64Er/R.INSTALL5fa55ea1a1b/Rhtslib/src/htslib-1.15.1'
make: *** [Makevars.common:22: htslib] Error 2
ERROR: compilation failed for package ‘Rhtslib’

Is there anynoe can help me with it?

Perhaps you need to install libbz2-dev like sudo apt install libbz2-dev?
I recommend that you ask questions in the following repositories
https://github.com/Bioconductor/Rhtslib