Hello,
I am trying to build https://github.com/LTLA/InteractionSet locally but it fails with:
R CMD build .
* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘InteractionSet’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to build vignettes
* creating vignettes ... ERROR
--- re-building ‘interactions.Rmd’ using rmarkdown
Quitting from lines 64-65 (interactions.Rmd)
Error: processing vignette 'interactions.Rmd' failed with diagnostics:
trying to generate an object from a virtual class ("DataFrame")
--- failed re-building ‘interactions.Rmd’
SUMMARY: processing the following file failed:
‘interactions.Rmd’
Error: Vignette re-building failed.
Execution halted
I faced the problem while trying to build the package on Linux ARM64, but as you can see below it fails the same way on Linux x86_64. The official build seems to be OK: https://bioconductor.org/checkResults/3.17/bioc-LATEST/InteractionSet/ Do I miss some step/prerequisite ? Please let me know if you need more information!
sessionInfo()
# include your problematic code here with any corresponding output
# please also include the results of running the following in an R session
R version 4.2.2 Patched (2022-11-10 r83330)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04.1 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.2.2
Note that only the CRAN dependencies are automatically taken care of, not the Bioc dependencies which you are missing here. Do as suggested with BiocManager::install() or install the dependencies first manually.