Attempt to install bioconductor 3.15, PCAtools
1
0
Entering edit mode
pterry • 0
@pterry-6902
Last seen 21 months ago
United States

Enter the body of text here Attempted to install bioconductor 3.15. Is there a way to check if it was successful? Then, attempted to install PCAtools.

Code should be placed in three backticks as shown below

> if (!require("BiocManager", quietly = TRUE))
+     install.packages("BiocManager")
> 
> BiocManager::install("PCAtools")
Bioconductor version 3.15 (BiocManager 1.30.18), R 4.2.1 (2022-06-23)
Installing package(s) 'PCAtools'
also installing the dependencies ‘sparseMatrixStats’, ‘S4Vectors’, ‘IRanges’, ‘ScaledMatrix’, ‘DelayedMatrixStats’, ‘DelayedArray’, ‘BiocSingular’, ‘BiocParallel’, ‘beachmat’

Warning: unable to access index for repository https://bioconductor.org/packages/3.15/bioc/bin/macosx/big-sur-arm64/contrib/4.2:
  cannot open URL 'https://bioconductor.org/packages/3.15/bioc/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.15/data/annotation/bin/macosx/big-sur-arm64/contrib/4.2:
  cannot open URL 'https://bioconductor.org/packages/3.15/data/annotation/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.15/data/experiment/bin/macosx/big-sur-arm64/contrib/4.2:
  cannot open URL 'https://bioconductor.org/packages/3.15/data/experiment/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.15/workflows/bin/macosx/big-sur-arm64/contrib/4.2:
  cannot open URL 'https://bioconductor.org/packages/3.15/workflows/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.15/books/bin/macosx/big-sur-arm64/contrib/4.2:
  cannot open URL 'https://bioconductor.org/packages/3.15/books/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES'
Packages which are only available in source form, and may need
  compilation of C/C++/Fortran: ‘sparseMatrixStats’ ‘S4Vectors’
  ‘IRanges’ ‘DelayedArray’ ‘BiocSingular’ ‘BiocParallel’ ‘beachmat’
  ‘PCAtools’
Do you want to attempt to install these from sources? (Yes/no/cancel) no
installing the source packages ‘ScaledMatrix’, ‘DelayedMatrixStats’

trying URL 'https://bioconductor.org/packages/3.15/bioc/src/contrib/ScaledMatrix_1.4.0.tar.gz'
Content type 'application/x-gzip' length 298044 bytes (291 KB)
==================================================
downloaded 291 KB

trying URL 'https://bioconductor.org/packages/3.15/bioc/src/contrib/DelayedMatrixStats_1.18.0.tar.gz'
Content type 'application/x-gzip' length 276219 bytes (269 KB)
==================================================
downloaded 269 KB

ERROR: dependencies ‘S4Vectors’, ‘DelayedArray’ are not available for package ‘ScaledMatrix’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/ScaledMatrix’
ERROR: dependencies ‘DelayedArray’, ‘sparseMatrixStats’, ‘S4Vectors’, ‘IRanges’ are not available for package ‘DelayedMatrixStats’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/DelayedMatrixStats’

The downloaded source packages are in
    ‘/private/var/folders/05/5ml458wd5rjdjym6f1c1y4h40000gp/T/Rtmpbwba9O/downloaded_packages’
Warning messages:
1: In install.packages(...) :
  installation of package ‘ScaledMatrix’ had non-zero exit status
2: In install.packages(...) :
  installation of package ‘DelayedMatrixStats’ had non-zero exit status
>

Running on M1 macbookpro. So 5 'warning' messages, 2 'ERROR' messages. What do I need to do to successfully install PCAtools here? Thanks.

include your problematic code here with any corresponding output

please also include the results of running the following in an R session

sessionInfo( )

> sessionInfo()
R version 4.2.1 (2022-06-23)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Monterey 12.1

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] BiocManager_1.30.18

loaded via a namespace (and not attached):
[1] compiler_4.2.1 tools_4.2.1
PCAtools bioconductor • 840 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 1 hour ago
United States

See this

ADD COMMENT

Login before adding your answer.

Traffic: 722 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6