Hi, I`m trying to download the package Consensusclusterplus after R was updated to version 4.2 on my computer (Windows 10). But no I just get errors when computing the code for Biomanager 3.16.
BiocManager::install("ConsensusClusterPlus")
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details
replacement repositories:
CRAN: https://cran.uib.no/
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/bioc/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/bioc/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/data/annotation/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/data/annotation/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/data/experiment/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/data/experiment/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/workflows/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/workflows/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/books/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/books/src/contrib/PACKAGES'
Bioconductor version 3.16 (BiocManager 1.30.19), R 4.2.2 (2022-10-31 ucrt)
Installing package(s) 'BiocVersion', 'ConsensusClusterPlus'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/bioc/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/bioc/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/data/annotation/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/data/annotation/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/data/experiment/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/data/experiment/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/workflows/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/workflows/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/books/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/books/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/bioc/bin/windows/contrib/4.2:
cannot open URL 'https://bioconductor.org/packages/3.16/bioc/bin/windows/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/data/annotation/bin/windows/contrib/4.2:
cannot open URL 'https://bioconductor.org/packages/3.16/data/annotation/bin/windows/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/data/experiment/bin/windows/contrib/4.2:
cannot open URL 'https://bioconductor.org/packages/3.16/data/experiment/bin/windows/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/workflows/bin/windows/contrib/4.2:
cannot open URL 'https://bioconductor.org/packages/3.16/workflows/bin/windows/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/books/bin/windows/contrib/4.2:
cannot open URL 'https://bioconductor.org/packages/3.16/books/bin/windows/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/bioc/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/bioc/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/data/annotation/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/data/annotation/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/data/experiment/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/data/experiment/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/workflows/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/workflows/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/books/src/contrib:
cannot open URL 'https://bioconductor.org/packages/3.16/books/src/contrib/PACKAGES'
Installation paths not writeable, unable to update packages
path: C:/Program Files/R/R-4.2.2/library
packages:
Matrix, boot, foreign, nlme
Warning messages:
1: In file(con, "r") :
URL 'https://bioconductor.org/config.yaml': status was 'SSL connect error'
2: packages ‘BiocVersion’, ‘ConsensusClusterPlus’ are not available for Bioconductor version '3.16'
Versions of these packages for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Please help me, were publishing a paper on these results and Im missing just a few details but can
t run anything now...
were you connected to the internet? It looks like perhaps there might have been intermittent connection issues?
Try setting the environment variable
BIOCONDUCTOR_CONFIG_FILE="http://bioconductor.org/config.yaml"
before loading the BiocManager package. I'm not sure about current practices for setting environment variables in R for Windows; it might be possible toSys.setenv(BIOCONDUCTOR_CONFIG_FILE="http://bioconductor.org/config.yaml")
but some alternative steps might be necessary.Try also using a non-https mirror with
chooseBiocMirror()
then '(other mirrors)' then '0-Bioconductor'.These are both work-arounds, really you would like to use https and thus figure out why
readLines('https://bioconductor.org/config.yaml')
generates a warning; there might be some hints on the help page?download.file