Closed paulmenzel closed 5 years ago
It seems to work with R 3.5.3.
Bit of a mystery, this. bindROWS
comes from S4Vectors
, which we import wholesale into InteractionSet's namespace. Are you BiocManager::valid()
?
Good question. ;-) Here is the output.
> BiocManager::valid()
* sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: MarIuX64 2.0 GNU/Linux 2010-2012
Matrix products: default
BLAS: /pkg/R-3.6.0-0/lib64/R/lib/libRblas.so
LAPACK: /pkg/R-3.6.0-0/lib64/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=C
[4] LC_COLLATE=C LC_MONETARY=C LC_MESSAGES=C
[7] LC_PAPER=C LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=C LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] BiocManager_1.30.4 compiler_3.6.0 tools_3.6.0
Bioconductor version '3.9'
* 194 packages out-of-date
* 3 packages too new
create a valid installation with
BiocManager::install(c(
"ACME", "ALL", "AnnotationDbi", "AnnotationFilter", "AnnotationForge",
"BSgenome", "BatchJobs", "BeadDataPackR", "BioNet", "Biobase",
"BiocGenerics", "BiocParallel", "BiocStyle", "Biostrings", "BradleyTerry2",
"CNEr", "Category", "CellNOptR", "ComplexHeatmap", "DESeq", "DESeq2",
"DEXSeq", "DNAcopy", "DT", "DelayedArray", "DelayedMatrixStats",
"DirichletMultinomial", "EBSeq", "EDASeq", "EnrichedHeatmap", "GEOquery",
"GO.db", "GOTHiC", "GOstats", "GSEABase", "GSEAlm", "GenomeGraphs",
"GenomeInfoDb", "GenomeInfoDbData", "GenomicAlignments", "GenomicFeatures",
"GenomicFiles", "GenomicRanges", "Glimma", "GlobalAncova", "HDF5Array",
"HMMcopy", "HSMMSingleCell", "HTqPCR", "IRanges", "KEGGREST", "MEDIPS",
"MethylSeekR", "OmicCircos", "OrganismDbi", "PFAM.db", "ProtGenerics",
"QuasR", "R.utils", "RBGL", "RJSONIO", "RNAseq123", "ROC", "RSpectra",
"RUVSeq", "Rbowtie", "RcppArmadillo", "RcppNumerical", "RcppParallel",
"Rgraphviz", "Rhdf5lib", "Rhtslib", "Rsamtools", "S4Vectors", "SCORPIUS",
"SCnorm", "Seurat", "ShortRead", "SingleCellExperiment",
"SummarizedExperiment", "TFBSTools", "TSP",
"TxDb.Mmusculus.UCSC.mm10.knownGene", "VariantAnnotation", "WGCNA", "XML",
"XVector", "affy", "affyPLM", "affyio", "airway", "annotate", "apeglm",
"aroma.light", "arrayQualityMetrics", "bamsignals", "beachmat",
"beadarray", "biocViews", "biomaRt", "bookdown", "bootstrap", "bumphunter",
"car", "chipseq", "deldir", "dendextend", "digest", "dplyr", "e1071",
"easyRNASeq", "edgeR", "evaluate", "exomeCopy", "fields", "fission",
"formatR", "fpc", "future.apply", "gcrma", "genefilter", "geneplotter",
"genomeIntervals", "ggplot2", "glmnet", "globaltest", "gower", "graph",
"hexbin", "illuminaio", "impute", "jomo", "knitr", "ks", "limma",
"lpSolve", "lumi", "markdown", "metafor", "methylumi", "mice", "mime",
"minfi", "monocle", "multtest", "muscle", "nor1mix", "numDeriv", "openssl",
"openxlsx", "org.Hs.eg.db", "org.Mm.eg.db", "pROC", "partykit",
"pcaMethods", "pillar", "polspline", "prabclus", "preprocessCore",
"princurve", "progress", "proxyC", "qsea", "quantreg", "qvalue", "raster",
"regioneR", "rhdf5", "rmarkdown", "robustbase", "rsvd", "rtracklayer",
"scDD", "scater", "scone", "scran", "segmented", "seqLogo", "seriation",
"sfsmisc", "siggenes", "simpleaffy", "snpStats", "statmod", "stringdist",
"sva", "tables", "tibble", "tinytex", "topGO", "tximport", "vsn", "xfun",
"yeastCC", "zip", "zlibbioc", "zoo"
), update = TRUE, ask = FALSE)
more details: BiocManager::valid()$too_new, BiocManager::valid()$out_of_date
Warning message:
194 packages out-of-date; 3 packages too new
Getting all your packages up to date would be a good start.
I’ll do that. But just to check, does it work for you with R 3.6.0?
Nice and smooth.
BiocManager::install("InteractionSet")
Bioconductor version 3.9 (BiocManager 1.30.4), R 3.6.0 Patched (2019-05-02
r76456)
Installing package(s) 'InteractionSet'
trying URL 'https://bioconductor.org/packages/3.9/bioc/src/contrib/InteractionSet_1.12.0.tar.gz'
Content type 'application/x-gzip' length 115532 bytes (112 KB)
==================================================
downloaded 112 KB
* installing *source* package ‘InteractionSet’ ...
** using staged installation
** libs
g++ -std=gnu++11 -I"/Users/luna/Software/R/R-3-6-branch/include" -DNDEBUG -I"/Users/luna/Software/R/R-3-6-branch/library/Rcpp/include" -I/usr/local/include -fPIC -g -O2 -c box_bounds.cpp -o box_bounds.o
g++ -std=gnu++11 -I"/Users/luna/Software/R/R-3-6-branch/include" -DNDEBUG -I"/Users/luna/Software/R/R-3-6-branch/library/Rcpp/include" -I/usr/local/include -fPIC -g -O2 -c detect_overlaps.cpp -o detect_overlaps.o
g++ -std=gnu++11 -I"/Users/luna/Software/R/R-3-6-branch/include" -DNDEBUG -I"/Users/luna/Software/R/R-3-6-branch/library/Rcpp/include" -I/usr/local/include -fPIC -g -O2 -c init.cpp -o init.o
g++ -std=gnu++11 -I"/Users/luna/Software/R/R-3-6-branch/include" -DNDEBUG -I"/Users/luna/Software/R/R-3-6-branch/library/Rcpp/include" -I/usr/local/include -fPIC -g -O2 -c link_overlaps.cpp -o link_overlaps.o
g++ -std=gnu++11 -I"/Users/luna/Software/R/R-3-6-branch/include" -DNDEBUG -I"/Users/luna/Software/R/R-3-6-branch/library/Rcpp/include" -I/usr/local/include -fPIC -g -O2 -c overlap_utils.cpp -o overlap_utils.o
g++ -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o InteractionSet.so box_bounds.o detect_overlaps.o init.o link_overlaps.o overlap_utils.o -Wl,-framework -Wl,CoreFoundation
installing to /Users/luna/Software/R/R-3-6-branch/library/00LOCK-InteractionSet/00new/InteractionSet/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (InteractionSet)
After updating the packages, the installation works.
> BiocManager::install(BiocManager::valid()$out_of_date)
[…]
> BiocManager::install("HiCcompare")
Bioconductor version 3.9 (BiocManager 1.30.4), R 3.6.0 (2019-04-26)
Installing package(s) 'HiCcompare'
also installing the dependency ‘InteractionSet’
trying URL 'https://bioconductor.org/packages/3.9/bioc/src/contrib/InteractionSet_1.12.0.tar.gz'
Content type 'application/x-gzip' length 115532 bytes (112 KB)
==================================================
downloaded 112 KB
trying URL 'https://bioconductor.org/packages/3.9/bioc/src/contrib/HiCcompare_1.6.0.tar.gz'
Content type 'application/x-gzip' length 3691524 bytes (3.5 MB)
==================================================
downloaded 3.5 MB
* installing *source* package ‘InteractionSet’ ...
** using staged installation
** libs
g++ -std=gnu++11 -I"/pkg/R-3.6.0-0/lib64/R/include" -DNDEBUG -I"/pkg/R-3.6.0-0/lib64/R/library/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c box_bounds.cpp -o box_bounds.o
g++ -std=gnu++11 -I"/pkg/R-3.6.0-0/lib64/R/include" -DNDEBUG -I"/pkg/R-3.6.0-0/lib64/R/library/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c detect_overlaps.cpp -o detect_overlaps.o
g++ -std=gnu++11 -I"/pkg/R-3.6.0-0/lib64/R/include" -DNDEBUG -I"/pkg/R-3.6.0-0/lib64/R/library/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c init.cpp -o init.o
g++ -std=gnu++11 -I"/pkg/R-3.6.0-0/lib64/R/include" -DNDEBUG -I"/pkg/R-3.6.0-0/lib64/R/library/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c link_overlaps.cpp -o link_overlaps.o
g++ -std=gnu++11 -I"/pkg/R-3.6.0-0/lib64/R/include" -DNDEBUG -I"/pkg/R-3.6.0-0/lib64/R/library/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c overlap_utils.cpp -o overlap_utils.o
g++ -std=gnu++11 -shared -L/pkg/R-3.6.0-0/lib64/R/lib -Wl,-rpath,/pkg/R-3.6.0-0/lib64/R/lib -o InteractionSet.so box_bounds.o detect_overlaps.o init.o link_overlaps.o overlap_utils.o -L/pkg/R-3.6.0-0/lib64/R/lib -lR
installing to /home/joey/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-InteractionSet/00new/InteractionSet/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (InteractionSet)
* installing *source* package ‘HiCcompare’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Note: wrong number of arguments to 'ceiling'
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (HiCcompare)
> library(HiCcompare)
Loading required package: dplyr
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
Registered S3 method overwritten by 'R.oo':
method from
throw.default R.methodsS3
There seems to be a bug in BiocManager::valid()
that it ignore the package versions installed by the user and not in the system.
> BiocManager::valid()
[…]
Warning message:
194 packages out-of-date; 3 packages too new
We will just update the R installation in our institute to work around it. So the issue could be closed. The real fix would be to find out, which exact version is required by InteractionSet. Thank you very much for your help.
Please also note the warning my build got but yours did not.
Note: wrong number of arguments to 'ceiling'
The real fix would be to find out, which exact version is required by InteractionSet
TBH, the real fix is to keep your R installation up to date. The system assumes that all Bioconductor packages are installed as a cohort; all 3.9 packages are installed together, and you don't mix 3.8 and 3.9, etc. There are rarely situations where BioC-release packages require specific versions of other Bioconductor packages - usually this is indicative of a hotfix for a critical bug.
In this specific case, bindROWS
has been in S4Vectors for at least a year - probably longer, but I didn't bother checking - so a version of the package that doesn't have it must be truly ancient.
Please also note the warning my build got but yours did not.
That's HiCcompare's problem.
Trying to build InteractionSet 1.12.0 fails with the error below.