Closed christoforos-dimitropoulos closed 1 year ago
There's not enough detail there to help.
Posting the exact command you used to install scran and the output of BiocManager::valid()
may enable people to help you.
Hey, I uninstalled the package and now installation doesn't work anymore
BiocManager::install("scran")
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details
replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.16 (BiocManager 1.30.19), R 4.2.2 (2022-10-31)
Installing package(s) 'scran'
There is a binary version available but the source version is later:
binary source needs_compilation
scran 1.26.0 1.26.1 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) yes
installing the source package ‘scran’
trying URL 'https://bioconductor.org/packages/3.16/bioc/src/contrib/scran_1.26.1.tar.gz'
Content type 'application/x-gzip' length 1779940 bytes (1.7 MB)
==================================================
downloaded 1.7 MB
* installing *source* package ‘scran’ ...
** using staged installation
** libs
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/dqrng/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/scuttle/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
::sprintf(buff, "%02x", from);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/dqrng/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/scuttle/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c choose_effect_size.cpp -o choose_effect_size.o
In file included from choose_effect_size.cpp:1:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
::sprintf(buff, "%02x", from);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/dqrng/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/scuttle/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c combine_rho.cpp -o combine_rho.o
In file included from combine_rho.cpp:1:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
::sprintf(buff, "%02x", from);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/dqrng/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/scuttle/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c compute_blocked_stats.cpp -o compute_blocked_stats.o
In file included from compute_blocked_stats.cpp:1:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
::sprintf(buff, "%02x", from);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from compute_blocked_stats.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/beachmat.h:24:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/read_lin_block.h:11:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:218:43: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:236:43: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const int*, int> get_col(size_t c, int* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:254:46: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:272:46: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const double*, int> get_col(size_t c, double* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:287:35: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const int*, int> get_col(size_t c, int* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:304:35: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:321:38: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const double*, int> get_col(size_t c, double* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:338:38: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
9 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/dqrng/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/scuttle/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c compute_residual_stats.cpp -o compute_residual_stats.o
In file included from compute_residual_stats.cpp:1:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
::sprintf(buff, "%02x", from);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from compute_residual_stats.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/beachmat.h:24:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/read_lin_block.h:11:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:218:43: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:236:43: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const int*, int> get_col(size_t c, int* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:254:46: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:272:46: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const double*, int> get_col(size_t c, double* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:287:35: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const int*, int> get_col(size_t c, int* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:304:35: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:321:38: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const double*, int> get_col(size_t c, double* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:338:38: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
9 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/dqrng/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/scuttle/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c compute_rho_null.cpp -o compute_rho_null.o
In file included from compute_rho_null.cpp:1:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
::sprintf(buff, "%02x", from);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from compute_rho_null.cpp:3:
In file included from ./rand_custom.h:6:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random.hpp:36:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/additive_combine.hpp:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/linear_congruential.hpp:30:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/detail/seed_impl.hpp:18:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/throw_exception.hpp:24:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/assert/source_location.hpp:75:14: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
std::sprintf( buffer, ":%ld", static_cast<long>( line() ) );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from compute_rho_null.cpp:3:
In file included from ./rand_custom.h:6:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random.hpp:36:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/additive_combine.hpp:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/linear_congruential.hpp:30:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/detail/seed_impl.hpp:18:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/throw_exception.hpp:24:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/assert/source_location.hpp:80:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
std::sprintf( buffer, ":%ld", static_cast<long>( column() ) );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/dqrng/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/scuttle/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cyclone_scores.cpp -o cyclone_scores.o
In file included from cyclone_scores.cpp:1:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
::sprintf(buff, "%02x", from);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cyclone_scores.cpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/beachmat.h:24:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/read_lin_block.h:11:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:218:43: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:236:43: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const int*, int> get_col(size_t c, int* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:254:46: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:272:46: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const double*, int> get_col(size_t c, double* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:287:35: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const int*, int> get_col(size_t c, int* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:304:35: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:321:38: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const double*, int> get_col(size_t c, double* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:338:38: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
In file included from cyclone_scores.cpp:6:
In file included from ./rand_custom.h:6:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random.hpp:36:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/additive_combine.hpp:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/linear_congruential.hpp:30:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/detail/seed_impl.hpp:18:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/throw_exception.hpp:24:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/assert/source_location.hpp:75:14: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
std::sprintf( buffer, ":%ld", static_cast<long>( line() ) );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cyclone_scores.cpp:6:
In file included from ./rand_custom.h:6:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random.hpp:36:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/additive_combine.hpp:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/linear_congruential.hpp:30:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/detail/seed_impl.hpp:18:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/throw_exception.hpp:24:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/assert/source_location.hpp:80:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
std::sprintf( buffer, ":%ld", static_cast<long>( column() ) );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
11 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/dqrng/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/scuttle/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c overlap_exprs.cpp -o overlap_exprs.o
In file included from overlap_exprs.cpp:1:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
::sprintf(buff, "%02x", from);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from overlap_exprs.cpp:3:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/beachmat.h:24:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/read_lin_block.h:11:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:218:43: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:236:43: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const int*, int> get_col(size_t c, int* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:254:46: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:272:46: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const double*, int> get_col(size_t c, double* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:287:35: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const int*, int> get_col(size_t c, int* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:304:35: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:321:38: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const double*, int> get_col(size_t c, double* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:338:38: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
overlap_exprs.cpp:202:18: warning: unused variable 'ngroups' [-Wunused-variable]
const size_t ngroups=groups.size();
^
10 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/beachmat/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/dqrng/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/scuttle/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c rand_custom.cpp -o rand_custom.o
In file included from rand_custom.cpp:1:
In file included from ./rand_custom.h:4:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
::sprintf(buff, "%02x", from);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from rand_custom.cpp:1:
In file included from ./rand_custom.h:6:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random.hpp:36:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/additive_combine.hpp:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/linear_congruential.hpp:30:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/detail/seed_impl.hpp:18:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/throw_exception.hpp:24:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/assert/source_location.hpp:75:14: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
std::sprintf( buffer, ":%ld", static_cast<long>( line() ) );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from rand_custom.cpp:1:
In file included from ./rand_custom.h:6:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random.hpp:36:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/additive_combine.hpp:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/linear_congruential.hpp:30:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/random/detail/seed_impl.hpp:18:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/throw_exception.hpp:24:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include/boost/assert/source_location.hpp:80:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
std::sprintf( buffer, ":%ld", static_cast<long>( column() ) );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
clang++ -arch arm64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o scran.so RcppExports.o choose_effect_size.o combine_rho.o compute_blocked_stats.o compute_residual_stats.o compute_rho_null.o cyclone_scores.o overlap_exprs.o rand_custom.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.6.0/12.0.1 -L/opt/R/arm64/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.6.0/12.0.1'
ld: warning: directory not found for option '-L/opt/R/arm64/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [scran.so] Error 1
ERROR: compilation failed for package ‘scran’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/scran’
The downloaded source packages are in
‘/private/var/folders/0t/kj42xwsd1qzchnwfn4w7v_lr0000gn/T/RtmpttWIiP/downloaded_packages’
Old packages: 'edgeR', 'nlme', 'scuttle'
Update all/some/none? [a/s/n]:
n
Warning message:
In install.packages(...) :
installation of package ‘scran’ had non-zero exit status
I tried also installing it with devtools::install_github but still didn't work.
BiocManager::valid()
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details
replacement repositories:
CRAN: https://cran.rstudio.com/
* sessionInfo()
R version 4.2.2 (2022-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.0.1
Matrix products: default
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] stats4 stats graphics grDevices utils datasets methods base
other attached packages:
[1] scuttle_1.8.2 SingleCellExperiment_1.20.0 SummarizedExperiment_1.28.0
[4] Biobase_2.58.0 GenomicRanges_1.50.1 GenomeInfoDb_1.34.4
[7] IRanges_2.32.0 S4Vectors_0.36.1 BiocGenerics_0.44.0
[10] MatrixGenerics_1.10.0 matrixStats_0.63.0
loaded via a namespace (and not attached):
[1] pkgload_1.3.2 BiocSingular_1.14.0 DelayedMatrixStats_1.20.0
[4] shiny_1.7.4 BiocManager_1.30.19 dqrng_0.3.0
[7] GenomeInfoDbData_1.2.9 remotes_2.4.2 sessioninfo_1.2.2
[10] lattice_0.20-45 glue_1.6.2 limma_3.54.0
[13] beachmat_2.14.0 digest_0.6.31 promises_1.2.0.1
[16] XVector_0.38.0 htmltools_0.5.4 httpuv_1.6.7
[19] Matrix_1.5-3 pkgconfig_2.0.3 devtools_2.4.5
[22] zlibbioc_1.44.0 purrr_0.3.5 xtable_1.8-4
[25] processx_3.8.0 ScaledMatrix_1.6.0 later_1.3.0
[28] BiocParallel_1.32.4 usethis_2.1.6 ellipsis_0.3.2
[31] withr_2.5.0 cachem_1.0.6 cli_3.4.1
[34] magrittr_2.0.3 crayon_1.5.2 mime_0.12
[37] memoise_2.0.1 ps_1.7.2 fs_1.5.2
[40] bluster_1.8.0 pkgbuild_1.4.0 profvis_0.3.7
[43] tools_4.2.2 prettyunits_1.1.1 lifecycle_1.0.3
[46] stringr_1.5.0 locfit_1.5-9.6 cluster_2.1.4
[49] DelayedArray_0.24.0 irlba_2.3.5.1 callr_3.7.3
[52] compiler_4.2.2 rsvd_1.0.5 rlang_1.0.6
[55] grid_4.2.2 RCurl_1.98-1.9 BiocNeighbors_1.16.0
[58] rstudioapi_0.14 htmlwidgets_1.6.0 igraph_1.3.5
[61] miniUI_0.1.1.1 bitops_1.0-7 codetools_0.2-18
[64] curl_4.3.3 R6_2.5.1 fastmap_1.1.0
[67] rprojroot_2.0.3 desc_1.4.2 stringi_1.7.8
[70] parallel_4.2.2 Rcpp_1.0.9 urlchecker_1.0.1
[73] sparseMatrixStats_1.10.0
Bioconductor version '3.16'
* 2 packages out-of-date
* 0 packages too new
create a valid installation with
BiocManager::install(c(
"edgeR", "scuttle"
), update = TRUE, ask = FALSE, force = TRUE)
more details: BiocManager::valid()$too_new, BiocManager::valid()$out_of_date
Warning message:
2 packages out-of-date; 0 packages too new
I'm guessing you're on one of the newer Macs (e.g., M1 or M2). For reasons unknown to me, BioC's pre-built Arm64 binaries for scran are stuck at 1.26.0, while everything else is at 1.26.1. (See here.) So, the simple solution is to answer "no" at Do you want to install from sources the package which needs compilation? (Yes/no/cancel)
.
Hey, thank you so much for your feedback! I still have issues loading the package after installing
BiocManager::install("scran")
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details
replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.16 (BiocManager 1.30.19), R 4.2.2 (2022-10-31)
Installing package(s) 'scran'
There is a binary version available but the source version is later:
binary source needs_compilation
scran 1.26.0 1.26.1 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) no
trying URL 'https://bioconductor.org/packages/3.16/bioc/bin/macosx/big-sur-arm64/contrib/4.2/scran_1.26.0.tgz'
Content type 'application/x-gzip' length 2246780 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
The downloaded binary packages are in
/var/folders/0t/kj42xwsd1qzchnwfn4w7v_lr0000gn/T//RtmpttWIiP/downloaded_packages
Old packages: 'edgeR', 'nlme', 'scran', 'scuttle'
Update all/some/none? [a/s/n]:
n
> library(scran)
Error: package or namespace load failed for ‘scran’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/edgeR/libs/edgeR.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/edgeR/libs/edgeR.so, 0x0006): Library not loaded: /opt/R/arm64/gfortran/lib/libgfortran.5.dylib
Referenced from: <03A4B4EC-6167-3FF8-8986-4E7B08A2F57D> /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/edgeR/libs/edgeR.so
Reason: tried: '/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
same if I update the packages
BiocManager::install("scran")
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details
replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.16 (BiocManager 1.30.19), R 4.2.2 (2022-10-31)
Installing package(s) 'scran'
There is a binary version available but the source version is later:
binary source needs_compilation
scran 1.26.0 1.26.1 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) no
trying URL 'https://bioconductor.org/packages/3.16/bioc/bin/macosx/big-sur-arm64/contrib/4.2/scran_1.26.0.tgz'
Content type 'application/x-gzip' length 2246780 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
The downloaded binary packages are in
/var/folders/0t/kj42xwsd1qzchnwfn4w7v_lr0000gn/T//RtmpttWIiP/downloaded_packages
Old packages: 'edgeR', 'nlme', 'scran', 'scuttle'
Update all/some/none? [a/s/n]:
a
There are binary versions available but the source versions are later:
binary source needs_compilation
edgeR 3.40.0 3.40.1 TRUE
nlme 3.1-160 3.1-161 TRUE
scran 1.26.0 1.26.1 TRUE
scuttle 1.8.2 1.8.3 TRUE
Do you want to install from sources the packages which need compilation? (Yes/no/cancel) no
trying URL 'https://bioconductor.org/packages/3.16/bioc/bin/macosx/big-sur-arm64/contrib/4.2/edgeR_3.40.0.tgz'
Content type 'application/x-gzip' length 2314825 bytes (2.2 MB)
==================================================
downloaded 2.2 MB
trying URL 'https://cran.rstudio.com/bin/macosx/big-sur-arm64/contrib/4.2/nlme_3.1-160.tgz'
Content type 'application/x-gzip' length 2390299 bytes (2.3 MB)
==================================================
downloaded 2.3 MB
trying URL 'https://bioconductor.org/packages/3.16/bioc/bin/macosx/big-sur-arm64/contrib/4.2/scran_1.26.0.tgz'
Content type 'application/x-gzip' length 2246780 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
trying URL 'https://bioconductor.org/packages/3.16/bioc/bin/macosx/big-sur-arm64/contrib/4.2/scuttle_1.8.2.tgz'
Content type 'application/x-gzip' length 1267940 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
The downloaded binary packages are in
/var/folders/0t/kj42xwsd1qzchnwfn4w7v_lr0000gn/T//RtmpttWIiP/downloaded_packages
> library(scran)
Error: package or namespace load failed for ‘scran’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/edgeR/libs/edgeR.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/edgeR/libs/edgeR.so, 0x0006): Library not loaded: /opt/R/arm64/gfortran/lib/libgfortran.5.dylib
Referenced from: <03A4B4EC-6167-3FF8-8986-4E7B08A2F57D> /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/edgeR/libs/edgeR.so
Reason: tried: '/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
Looking at the error message, the real problem seems to be that edgeR is failing to load, not scran.
Unfortunately, I have no idea why this is happening. Best ask on the support site.
Hey, solution was found here: https://support.bioconductor.org/p/9137290/
Hey, when I try to load the package, I get the following error
Error: package or namespace load failed for ‘scran’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/edgeR/libs/edgeR.so': dlopen(/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/edgeR/libs/edgeR.so, 0x0006): Library not loaded: /opt/R/arm64/gfortran/lib/libgfortran.5.dylib Referenced from: <03A4B4EC-6167-3FF8-8986-4E7B08A2F57D> /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/edgeR/libs/edgeR.so Reason: tried: '/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/opt/R/arm64/gfortran/lib/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
Any suggestions?