I have issues installing my own package, martini, in Linux, and only in Linux. I use continuous integration via Github actions (Linux, Windows, macOS).
R CMD check succeeds in all platforms, but
BiocCheck fails in Linux with the following message (the full output is available here):
** byte-compile and prepare package for lazy loading ERROR: lazy loading failed for package ‘martini’ * removing ‘/tmp/RtmpTWnjOi/filea213c9c2f3e/lib/martini’
Installation works fine on my own Linux machines. So I am clueless regarding how to debug this error. Does anyone have any suggestions?
Here is the session info of the virtual machine:
Bioconductor version 3.12 (BiocManager 1.30.10), ?BiocManager::install for help R version 4.0.3 (2020-10-10) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 20.04 LTS Matrix products: default BLAS/LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.8.so locale:  LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C  LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8  LC_MONETARY=en_US.UTF-8 LC_MESSAGES=C  LC_PAPER=en_US.UTF-8 LC_NAME=C  LC_ADDRESS=C LC_TELEPHONE=C  LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages:  stats graphics grDevices utils datasets methods base other attached packages:  BiocManager_1.30.10 loaded via a namespace (and not attached):  compiler_4.0.3