BiocManagerを使用して、以下のようにインストールを試みましたが、
以下のエラーメッセージが発生しました。
行なった事:
Rstudioのコンソール画面で、
install.packages("BiocManager") でBiocManagerを入れた後に、
BiocManager::install("edgeR") を実行しました。
エラーメッセージ:
1ld: warning: directory not found for option '-L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.2.0/11.0.0'
2ld: warning: directory not found for option '-L/opt/R/arm64/gfortran/lib'
3ld: library not found for -lgfortran
4clang: error: linker command failed with exit code 1 (use -v to see invocation)
5make: *** [edgeR.so] Error 1
6ERROR: compilation failed for package ‘edgeR’
7* removing ‘/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/edgeR’
8
9The downloaded source packages are in
10 ‘/private/var/folders/f5/97sdymz95n305bgtnphdn3zm0000gn/T/Rtmp1rFcYQ/downloaded_packages’
11 警告メッセージ:
121: .inet_warning(msg) で:
13 unable to access index for repository https://bioconductor.org/packages/3.14/bioc/bin/macosx/big-sur-arm64/contrib/4.1:
14 URL 'https://bioconductor.org/packages/3.14/bioc/bin/macosx/big-sur-arm64/contrib/4.1/PACKAGES' を開けません
152: .inet_warning(msg) で:
16 unable to access index for repository https://bioconductor.org/packages/3.14/data/annotation/bin/macosx/big-sur-arm64/contrib/4.1:
17 URL 'https://bioconductor.org/packages/3.14/data/annotation/bin/macosx/big-sur-arm64/contrib/4.1/PACKAGES' を開けません
183: .inet_warning(msg) で:
19 unable to access index for repository https://bioconductor.org/packages/3.14/data/experiment/bin/macosx/big-sur-arm64/contrib/4.1:
20 URL 'https://bioconductor.org/packages/3.14/data/experiment/bin/macosx/big-sur-arm64/contrib/4.1/PACKAGES' を開けません
214: .inet_warning(msg) で:
22 unable to access index for repository https://bioconductor.org/packages/3.14/workflows/bin/macosx/big-sur-arm64/contrib/4.1:
23 URL 'https://bioconductor.org/packages/3.14/workflows/bin/macosx/big-sur-arm64/contrib/4.1/PACKAGES' を開けません
245: .inet_warning(msg) で:
25 unable to access index for repository https://bioconductor.org/packages/3.14/books/bin/macosx/big-sur-arm64/contrib/4.1:
26 URL 'https://bioconductor.org/packages/3.14/books/bin/macosx/big-sur-arm64/contrib/4.1/PACKAGES' を開けません
276: .inet_warning(msg) で:
28 installation of package ‘edgeR’ had non-zero exit status
使用言語・ライブラリのバージョン
Rのバージョンは4.1.3
使用PCはM1 MACです。
わかる方どうぞよろしくお願い致します。