* installing *source* package ‘StrucDiv’ ... ** package ‘StrucDiv’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.24.1)’ using C++11 using SDK: ‘MacOSX15.0.sdk’ clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ContrastRank.cpp -o ContrastRank.o In file included from ContrastRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ContrastRank.cpp:135:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 135 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ ContrastRank.cpp:135:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 135 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ ContrastRank.cpp:142:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 142 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ ContrastRank.cpp:142:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 142 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ ContrastRank.cpp:151:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 151 | NumericMatrix ConMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ ContrastRank.cpp:151:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 151 | NumericMatrix ConMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from ContrastRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ContrastRank.cpp:113:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 113 | NumericVector x = Hetx(i,_); | ^ In file included from ContrastRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ContrastRank.cpp:140:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 140 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from ContrastRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ContrastRank.cpp:147:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 147 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from ContrastRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ContrastRankNested.cpp -o ContrastRankNested.o In file included from ContrastRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ContrastRankNested.cpp:138:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ ContrastRankNested.cpp:138:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ ContrastRankNested.cpp:145:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 145 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ ContrastRankNested.cpp:145:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 145 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ ContrastRankNested.cpp:154:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 154 | NumericMatrix ConMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ ContrastRankNested.cpp:154:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 154 | NumericMatrix ConMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from ContrastRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ContrastRankNested.cpp:115:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 115 | NumericVector x = Hetx(i,_); | ^ In file included from ContrastRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ContrastRankNested.cpp:143:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 143 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from ContrastRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ContrastRankNested.cpp:150:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 150 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from ContrastRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ContrastRankRef.cpp -o ContrastRankRef.o In file included from ContrastRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ContrastRankRef.cpp:11:26: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 11 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from ContrastRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ContrastRankRef.cpp:18:13: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 18 | ConMat(m,n) = PMat(m,n) * ( pow(ValPos[m] - ValPos[n], 2) ); | ^ In file included from ContrastRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 3 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ContrastValue.cpp -o ContrastValue.o In file included from ContrastValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ContrastValue.cpp:139:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 139 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ ContrastValue.cpp:139:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 139 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ ContrastValue.cpp:146:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 146 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ ContrastValue.cpp:146:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 146 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ ContrastValue.cpp:155:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 155 | NumericMatrix ConMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ ContrastValue.cpp:155:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 155 | NumericMatrix ConMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from ContrastValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ContrastValue.cpp:117:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 117 | NumericVector x = Hetx(i,_); | ^ In file included from ContrastValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ContrastValue.cpp:144:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 144 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from ContrastValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ContrastValue.cpp:151:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 151 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from ContrastValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ContrastValueNested.cpp -o ContrastValueNested.o 17 warnings generated. In file included from ContrastValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ContrastValueNested.cpp:142:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 142 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ ContrastValueNested.cpp:142:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 142 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ ContrastValueNested.cpp:149:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 149 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ ContrastValueNested.cpp:149:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 149 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ ContrastValueNested.cpp:158:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 158 | NumericMatrix ConMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ ContrastValueNested.cpp:158:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 158 | NumericMatrix ConMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from ContrastValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ContrastValueNested.cpp:119:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 119 | NumericVector x = Hetx(i,_); | ^ In file included from ContrastValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ContrastValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ContrastValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ContrastValueNested.cpp:147:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 147 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from ContrastValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ContrastValueNested.cpp:154:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 154 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from ContrastValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ContrastValueRef.cpp -o ContrastValueRef.o In file included from ContrastValueRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ContrastValueRef.cpp:17:13: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 17 | ConMat(m,n) = PMat(m,n) * ( pow(xVal[m] - xVal[n], 2) ); | ^ In file included from ContrastValueRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 2 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DissimilarityRank.cpp -o DissimilarityRank.o In file included from DissimilarityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ DissimilarityRank.cpp:131:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 131 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ DissimilarityRank.cpp:131:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 131 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ DissimilarityRank.cpp:138:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ DissimilarityRank.cpp:138:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ DissimilarityRank.cpp:147:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 147 | NumericMatrix DisMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ DissimilarityRank.cpp:147:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 147 | NumericMatrix DisMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from DissimilarityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ DissimilarityRank.cpp:110:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 110 | NumericVector x = Hetx(i,_); | ^ In file included from DissimilarityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ DissimilarityRank.cpp:136:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 136 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from DissimilarityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ DissimilarityRank.cpp:143:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 143 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from DissimilarityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DissimilarityRankNested.cpp -o DissimilarityRankNested.o In file included from DissimilarityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ DissimilarityRankNested.cpp:134:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 134 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ DissimilarityRankNested.cpp:134:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 134 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ DissimilarityRankNested.cpp:141:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ DissimilarityRankNested.cpp:141:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ DissimilarityRankNested.cpp:150:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 150 | NumericMatrix DisMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ DissimilarityRankNested.cpp:150:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 150 | NumericMatrix DisMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from DissimilarityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ DissimilarityRankNested.cpp:112:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 112 | NumericVector x = Hetx(i,_); | ^ In file included from DissimilarityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ DissimilarityRankNested.cpp:139:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 139 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from DissimilarityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ DissimilarityRankNested.cpp:146:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 146 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from DissimilarityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DissimilarityRankRef.cpp -o DissimilarityRankRef.o In file included from DissimilarityRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ DissimilarityRankRef.cpp:11:26: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 11 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from DissimilarityRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ DissimilarityRankRef.cpp:18:13: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 18 | DisMat(m,n) = PMat(m,n) * std::fabs(ValPos[m] - ValPos[n]); | ^ In file included from DissimilarityRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 3 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DissimilarityValue.cpp -o DissimilarityValue.o In file included from DissimilarityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ DissimilarityValue.cpp:131:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 131 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ DissimilarityValue.cpp:131:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 131 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ DissimilarityValue.cpp:138:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ DissimilarityValue.cpp:138:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ DissimilarityValue.cpp:147:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 147 | NumericMatrix DisMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ DissimilarityValue.cpp:147:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 147 | NumericMatrix DisMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from DissimilarityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ DissimilarityValue.cpp:110:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 110 | NumericVector x = Hetx(i,_); | ^ In file included from DissimilarityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ DissimilarityValue.cpp:136:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 136 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from DissimilarityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ DissimilarityValue.cpp:143:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 143 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from DissimilarityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DissimilarityValueNested.cpp -o DissimilarityValueNested.o In file included from DissimilarityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ DissimilarityValueNested.cpp:134:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 134 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ DissimilarityValueNested.cpp:134:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 134 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ DissimilarityValueNested.cpp:141:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ DissimilarityValueNested.cpp:141:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ DissimilarityValueNested.cpp:150:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 150 | NumericMatrix DisMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ DissimilarityValueNested.cpp:150:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 150 | NumericMatrix DisMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from DissimilarityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ DissimilarityValueNested.cpp:112:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 112 | NumericVector x = Hetx(i,_); | ^ In file included from DissimilarityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from DissimilarityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from DissimilarityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ DissimilarityValueNested.cpp:139:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 139 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from DissimilarityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ DissimilarityValueNested.cpp:146:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 146 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from DissimilarityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DissimilarityValueRef.cpp -o DissimilarityValueRef.o In file included from DissimilarityValueRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ DissimilarityValueRef.cpp:18:13: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 18 | DisMat(m,n) = PMat(m,n) * std::fabs(xVal[m] - xVal[n]); | ^ In file included from DissimilarityValueRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 2 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c Entropy.cpp -o Entropy.o In file included from Entropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ Entropy.cpp:133:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 133 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ Entropy.cpp:133:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 133 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ Entropy.cpp:140:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 140 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ Entropy.cpp:140:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 140 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ Entropy.cpp:149:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 149 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ Entropy.cpp:149:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 149 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from Entropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ Entropy.cpp:112:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 112 | NumericVector x = Hetx(i,_); | ^ In file included from Entropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from Entropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from Entropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from Entropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from Entropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from Entropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from Entropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ Entropy.cpp:138:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 138 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from Entropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ Entropy.cpp:145:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 145 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from Entropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c EntropyNested.cpp -o EntropyNested.o In file included from EntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ EntropyNested.cpp:135:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 135 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ EntropyNested.cpp:135:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 135 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ EntropyNested.cpp:142:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 142 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ EntropyNested.cpp:142:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 142 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ EntropyNested.cpp:151:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 151 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ EntropyNested.cpp:151:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 151 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from EntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ EntropyNested.cpp:113:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 113 | NumericVector x = Hetx(i,_); | ^ In file included from EntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from EntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from EntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from EntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from EntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from EntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from EntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ EntropyNested.cpp:140:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 140 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from EntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ EntropyNested.cpp:147:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 147 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from EntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c EntropyRef.cpp -o EntropyRef.o In file included from EntropyRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ EntropyRef.cpp:17:14: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 17 | if(PMat(m,n) == 0) EntMat(m,n) = PMat(m,n) * 0; | ^ In file included from EntropyRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 2 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c HomogeneityRank.cpp -o HomogeneityRank.o In file included from HomogeneityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ HomogeneityRank.cpp:130:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 130 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ HomogeneityRank.cpp:130:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 130 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ HomogeneityRank.cpp:137:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 137 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ HomogeneityRank.cpp:137:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 137 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ HomogeneityRank.cpp:146:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 146 | NumericMatrix HoMat(ValPos.length(), ValPos.length()); | ~~~~~ ~~~~~~~^~~~~~~~ HomogeneityRank.cpp:146:36: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 146 | NumericMatrix HoMat(ValPos.length(), ValPos.length()); | ~~~~~ ~~~~~~~^~~~~~~~ In file included from HomogeneityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ HomogeneityRank.cpp:110:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 110 | NumericVector x = Hetx(i,_); | ^ In file included from HomogeneityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ HomogeneityRank.cpp:135:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 135 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from HomogeneityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ HomogeneityRank.cpp:142:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 142 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from HomogeneityRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c HomogeneityRankNested.cpp -o HomogeneityRankNested.o In file included from HomogeneityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ HomogeneityRankNested.cpp:133:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 133 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ HomogeneityRankNested.cpp:133:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 133 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ HomogeneityRankNested.cpp:140:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 140 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ HomogeneityRankNested.cpp:140:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 140 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ HomogeneityRankNested.cpp:149:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 149 | NumericMatrix HoMat(ValPos.length(), ValPos.length()); | ~~~~~ ~~~~~~~^~~~~~~~ HomogeneityRankNested.cpp:149:36: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 149 | NumericMatrix HoMat(ValPos.length(), ValPos.length()); | ~~~~~ ~~~~~~~^~~~~~~~ In file included from HomogeneityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ HomogeneityRankNested.cpp:112:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 112 | NumericVector x = Hetx(i,_); | ^ In file included from HomogeneityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ HomogeneityRankNested.cpp:138:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 138 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from HomogeneityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ HomogeneityRankNested.cpp:145:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 145 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from HomogeneityRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c HomogeneityRankRef.cpp -o HomogeneityRankRef.o In file included from HomogeneityRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ HomogeneityRankRef.cpp:11:26: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 11 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from HomogeneityRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ HomogeneityRankRef.cpp:18:12: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 18 | HoMat(m,n) = PMat(m,n) / (1 + pow(ValPos[m] - ValPos[n], 2)); | ^ In file included from HomogeneityRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 3 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c HomogeneityValue.cpp -o HomogeneityValue.o In file included from HomogeneityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ HomogeneityValue.cpp:128:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 128 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ HomogeneityValue.cpp:128:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 128 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ HomogeneityValue.cpp:135:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 135 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ HomogeneityValue.cpp:135:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 135 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ HomogeneityValue.cpp:144:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 144 | NumericMatrix HoMat(ValPos.length(), ValPos.length()); | ~~~~~ ~~~~~~~^~~~~~~~ HomogeneityValue.cpp:144:36: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 144 | NumericMatrix HoMat(ValPos.length(), ValPos.length()); | ~~~~~ ~~~~~~~^~~~~~~~ In file included from HomogeneityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ HomogeneityValue.cpp:108:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 108 | NumericVector x = Hetx(i,_); | ^ In file included from HomogeneityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ HomogeneityValue.cpp:133:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 133 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from HomogeneityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ HomogeneityValue.cpp:140:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 140 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from HomogeneityValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c HomogeneityValueNested.cpp -o HomogeneityValueNested.o In file included from HomogeneityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ HomogeneityValueNested.cpp:131:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 131 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ HomogeneityValueNested.cpp:131:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 131 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ HomogeneityValueNested.cpp:138:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ HomogeneityValueNested.cpp:138:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ HomogeneityValueNested.cpp:147:53: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 147 | NumericMatrix HoMat(ValPos.length(), ValPos.length()); | ~~~~~ ~~~~~~~^~~~~~~~ HomogeneityValueNested.cpp:147:36: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 147 | NumericMatrix HoMat(ValPos.length(), ValPos.length()); | ~~~~~ ~~~~~~~^~~~~~~~ In file included from HomogeneityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ HomogeneityValueNested.cpp:110:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 110 | NumericVector x = Hetx(i,_); | ^ In file included from HomogeneityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from HomogeneityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from HomogeneityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ HomogeneityValueNested.cpp:136:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 136 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from HomogeneityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ HomogeneityValueNested.cpp:143:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 143 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from HomogeneityValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c HomogeneityValueRef.cpp -o HomogeneityValueRef.o In file included from HomogeneityValueRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ HomogeneityValueRef.cpp:17:12: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 17 | HoMat(m,n) = PMat(m,n) / (1 + pow(xVal[m] - xVal[n], 2)); | ^ In file included from HomogeneityValueRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 2 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c NormalizedEntropy.cpp -o NormalizedEntropy.o In file included from NormalizedEntropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ NormalizedEntropy.cpp:134:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 134 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ NormalizedEntropy.cpp:134:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 134 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ NormalizedEntropy.cpp:141:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ NormalizedEntropy.cpp:141:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ NormalizedEntropy.cpp:150:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 150 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ NormalizedEntropy.cpp:150:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 150 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from NormalizedEntropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ NormalizedEntropy.cpp:113:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 113 | NumericVector x = Hetx(i,_); | ^ In file included from NormalizedEntropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from NormalizedEntropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from NormalizedEntropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from NormalizedEntropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from NormalizedEntropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from NormalizedEntropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from NormalizedEntropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ NormalizedEntropy.cpp:139:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 139 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from NormalizedEntropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ NormalizedEntropy.cpp:146:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 146 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from NormalizedEntropy.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c NormalizedEntropyNested.cpp -o NormalizedEntropyNested.o In file included from NormalizedEntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ NormalizedEntropyNested.cpp:137:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 137 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ NormalizedEntropyNested.cpp:137:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 137 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ NormalizedEntropyNested.cpp:144:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 144 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ NormalizedEntropyNested.cpp:144:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 144 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ NormalizedEntropyNested.cpp:153:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 153 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ NormalizedEntropyNested.cpp:153:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 153 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from NormalizedEntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ NormalizedEntropyNested.cpp:115:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 115 | NumericVector x = Hetx(i,_); | ^ In file included from NormalizedEntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from NormalizedEntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from NormalizedEntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from NormalizedEntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from NormalizedEntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from NormalizedEntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from NormalizedEntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ NormalizedEntropyNested.cpp:142:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 142 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from NormalizedEntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ NormalizedEntropyNested.cpp:149:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 149 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from NormalizedEntropyNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c NormalizedEntropyRef.cpp -o NormalizedEntropyRef.o NormalizedEntropyRef.cpp:16:46: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 16 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ NormalizedEntropyRef.cpp:16:31: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 16 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ In file included from NormalizedEntropyRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ NormalizedEntropyRef.cpp:14:26: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 14 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from NormalizedEntropyRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ NormalizedEntropyRef.cpp:21:15: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 21 | xPMatSub(t,s) = PMat(ValPos[t]-1, pos); | ^ In file included from NormalizedEntropyRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 5 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix0.cpp -o ProbabilityMatrix0.o ProbabilityMatrix0.cpp:10:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 10 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix0.cpp:10:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 10 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix0.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix0.cpp:19:33: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 19 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a, b+d)){ | ^ In file included from ProbabilityMatrix0.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 4 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix0Dynamic.cpp -o ProbabilityMatrix0Dynamic.o In file included from ProbabilityMatrix0Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix0Dynamic.cpp:109:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 109 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix0Dynamic.cpp:109:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 109 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix0Dynamic.cpp:125:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 125 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix0Dynamic.cpp:125:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 125 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix0Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix0Dynamic.cpp:108:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 108 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix0Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix0Dynamic.cpp:134:35: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 134 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a, b+d)){ | ^ In file included from ProbabilityMatrix0Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 14 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix0Nested.cpp -o ProbabilityMatrix0Nested.o In file included from ProbabilityMatrix0Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix0Nested.cpp:107:12: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 107 | int bb = sqrt(vMat.ncol()); | ~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix0Nested.cpp:108:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 108 | int bbb = sqrt(vMat_big.ncol()); | ~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix0Nested.cpp:116:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 116 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix0Nested.cpp:116:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 116 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix0Nested.cpp:124:53: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 124 | NumericMatrix xMat2_big( sqrt(vMat_big.ncol()), sqrt(vMat_big.ncol()), rowvec_big.begin() ); | ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix0Nested.cpp:124:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 124 | NumericMatrix xMat2_big( sqrt(vMat_big.ncol()), sqrt(vMat_big.ncol()), rowvec_big.begin() ); | ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix0Nested.cpp:138:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix0Nested.cpp:138:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix0Nested.cpp:175:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 175 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix0Nested.cpp:175:36: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 175 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix0Nested.cpp:206:19: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 206 | int rl = ValPos.length(); | ~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix0Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix0Nested.cpp:115:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 115 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix0Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix0Nested.cpp:147:35: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 147 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a, b+d)){ | ^ In file included from ProbabilityMatrix0Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ In file included from ProbabilityMatrix0Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<14>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ProbabilityMatrix0Nested.cpp:204:26: note: in instantiation of function template specialization 'Rcpp::match<14, true, Rcpp::Vector<14>, true, Rcpp::Vector<14>>' requested here 204 | IntegerVector ValPos = match(Values, Values_big); | ^ 22 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix0Post.cpp -o ProbabilityMatrix0Post.o In file included from ProbabilityMatrix0Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix0Post.cpp:141:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 141 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix0Post.cpp:141:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 141 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix0Post.cpp:109:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 109 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix0Post.cpp:109:36: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 109 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix0Post.cpp:151:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 151 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix0Post.cpp:151:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 151 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix0Post.cpp:185:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 185 | int rl = ValPos.length(); | ~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix0Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix0Post.cpp:118:34: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 118 | if(Values_big(i) == x(a,b) && Values_big(j) == x(a, b+d)){ | ^ In file included from ProbabilityMatrix0Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ In file included from ProbabilityMatrix0Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix0Post.cpp:140:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 140 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix0Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix0Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<14>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ProbabilityMatrix0Post.cpp:183:28: note: in instantiation of function template specialization 'Rcpp::match<14, true, Rcpp::Vector<14>, true, Rcpp::Vector<14>>' requested here 183 | IntegerVector ValPos = match(Values, Values_big); | ^ 18 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix135.cpp -o ProbabilityMatrix135.o ProbabilityMatrix135.cpp:10:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 10 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix135.cpp:10:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 10 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix135.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix135.cpp:18:33: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 18 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a+d, b+d)){ | ^ In file included from ProbabilityMatrix135.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 4 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix135Dynamic.cpp -o ProbabilityMatrix135Dynamic.o In file included from ProbabilityMatrix135Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix135Dynamic.cpp:109:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 109 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix135Dynamic.cpp:109:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 109 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix135Dynamic.cpp:125:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 125 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix135Dynamic.cpp:125:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 125 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix135Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix135Dynamic.cpp:108:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 108 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix135Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix135Dynamic.cpp:133:35: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 133 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a+d, b+d)){ | ^ In file included from ProbabilityMatrix135Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 14 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix135Nested.cpp -o ProbabilityMatrix135Nested.o In file included from ProbabilityMatrix135Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix135Nested.cpp:107:12: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 107 | int bb = sqrt(vMat.ncol()); | ~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix135Nested.cpp:108:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 108 | int bbb = sqrt(vMat_big.ncol()); | ~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix135Nested.cpp:116:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 116 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix135Nested.cpp:116:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 116 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix135Nested.cpp:124:53: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 124 | NumericMatrix xMat2_big( sqrt(vMat_big.ncol()), sqrt(vMat_big.ncol()), rowvec_big.begin() ); | ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix135Nested.cpp:124:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 124 | NumericMatrix xMat2_big( sqrt(vMat_big.ncol()), sqrt(vMat_big.ncol()), rowvec_big.begin() ); | ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix135Nested.cpp:145:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 145 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix135Nested.cpp:145:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 145 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix135Nested.cpp:181:59: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 181 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix135Nested.cpp:181:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 181 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix135Nested.cpp:211:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 211 | int rl = ValPos.length(); | ~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix135Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix135Nested.cpp:115:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 115 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix135Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix135Nested.cpp:153:35: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 153 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a+d, b+d)){ | ^ In file included from ProbabilityMatrix135Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ In file included from ProbabilityMatrix135Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<14>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ProbabilityMatrix135Nested.cpp:209:28: note: in instantiation of function template specialization 'Rcpp::match<14, true, Rcpp::Vector<14>, true, Rcpp::Vector<14>>' requested here 209 | IntegerVector ValPos = match(Values, Values_big); | ^ 22 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix135Post.cpp -o ProbabilityMatrix135Post.o In file included from ProbabilityMatrix135Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix135Post.cpp:141:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 141 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix135Post.cpp:141:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 141 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix135Post.cpp:109:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 109 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix135Post.cpp:109:36: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 109 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix135Post.cpp:153:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 153 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix135Post.cpp:153:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 153 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix135Post.cpp:186:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 186 | int rl = ValPos.length(); | ~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix135Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix135Post.cpp:118:34: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 118 | if(Values_big(i) == x(a,b) && Values_big(j) == x(a+d, b+d)){ | ^ In file included from ProbabilityMatrix135Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ In file included from ProbabilityMatrix135Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix135Post.cpp:140:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 140 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix135Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix135Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<14>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ProbabilityMatrix135Post.cpp:184:28: note: in instantiation of function template specialization 'Rcpp::match<14, true, Rcpp::Vector<14>, true, Rcpp::Vector<14>>' requested here 184 | IntegerVector ValPos = match(Values, Values_big); | ^ 18 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix45.cpp -o ProbabilityMatrix45.o ProbabilityMatrix45.cpp:10:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 10 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix45.cpp:10:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 10 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix45.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix45.cpp:18:33: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 18 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a+d, b-d)){ | ^ In file included from ProbabilityMatrix45.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 4 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix45Dynamic.cpp -o ProbabilityMatrix45Dynamic.o In file included from ProbabilityMatrix45Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix45Dynamic.cpp:109:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 109 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix45Dynamic.cpp:109:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 109 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix45Dynamic.cpp:125:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 125 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix45Dynamic.cpp:125:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 125 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix45Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix45Dynamic.cpp:108:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 108 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix45Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix45Dynamic.cpp:133:35: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 133 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a+d, b-d)){ | ^ In file included from ProbabilityMatrix45Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 14 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix45Nested.cpp -o ProbabilityMatrix45Nested.o In file included from ProbabilityMatrix45Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix45Nested.cpp:107:12: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 107 | int bb = sqrt(vMat.ncol()); | ~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix45Nested.cpp:108:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 108 | int bbb = sqrt(vMat_big.ncol()); | ~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix45Nested.cpp:116:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 116 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix45Nested.cpp:116:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 116 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix45Nested.cpp:124:53: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 124 | NumericMatrix xMat2_big( sqrt(vMat_big.ncol()), sqrt(vMat_big.ncol()), rowvec_big.begin() ); | ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix45Nested.cpp:124:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 124 | NumericMatrix xMat2_big( sqrt(vMat_big.ncol()), sqrt(vMat_big.ncol()), rowvec_big.begin() ); | ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix45Nested.cpp:139:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 139 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix45Nested.cpp:139:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 139 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix45Nested.cpp:174:59: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 174 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix45Nested.cpp:174:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 174 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix45Nested.cpp:204:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 204 | int rl = ValPos.length(); | ~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix45Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix45Nested.cpp:115:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 115 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix45Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix45Nested.cpp:147:35: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 147 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a+d, b-d)){ | ^ In file included from ProbabilityMatrix45Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ In file included from ProbabilityMatrix45Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<14>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ProbabilityMatrix45Nested.cpp:202:28: note: in instantiation of function template specialization 'Rcpp::match<14, true, Rcpp::Vector<14>, true, Rcpp::Vector<14>>' requested here 202 | IntegerVector ValPos = match(Values, Values_big); | ^ 22 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix45Post.cpp -o ProbabilityMatrix45Post.o In file included from ProbabilityMatrix45Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix45Post.cpp:141:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 141 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix45Post.cpp:141:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 141 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix45Post.cpp:109:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 109 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix45Post.cpp:109:36: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 109 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix45Post.cpp:153:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 153 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix45Post.cpp:153:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 153 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix45Post.cpp:186:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 186 | int rl = ValPos.length(); | ~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix45Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix45Post.cpp:118:34: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 118 | if(Values_big(i) == x(a,b) && Values_big(j) == x(a+d, b-d)){ | ^ In file included from ProbabilityMatrix45Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ In file included from ProbabilityMatrix45Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix45Post.cpp:140:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 140 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix45Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix45Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<14>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ProbabilityMatrix45Post.cpp:184:28: note: in instantiation of function template specialization 'Rcpp::match<14, true, Rcpp::Vector<14>, true, Rcpp::Vector<14>>' requested here 184 | IntegerVector ValPos = match(Values, Values_big); | ^ 18 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix90.cpp -o ProbabilityMatrix90.o ProbabilityMatrix90.cpp:10:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 10 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix90.cpp:10:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 10 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix90.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix90.cpp:18:33: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 18 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a+d, b)){ | ^ In file included from ProbabilityMatrix90.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 4 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix90Dynamic.cpp -o ProbabilityMatrix90Dynamic.o In file included from ProbabilityMatrix90Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix90Dynamic.cpp:111:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 111 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix90Dynamic.cpp:111:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 111 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix90Dynamic.cpp:127:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 127 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix90Dynamic.cpp:127:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 127 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix90Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix90Dynamic.cpp:110:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 110 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix90Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix90Dynamic.cpp:135:35: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 135 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a+d, b)){ | ^ In file included from ProbabilityMatrix90Dynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 14 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix90Nested.cpp -o ProbabilityMatrix90Nested.o In file included from ProbabilityMatrix90Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix90Nested.cpp:109:12: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 109 | int bb = sqrt(vMat.ncol()); | ~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix90Nested.cpp:110:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 110 | int bbb = sqrt(vMat_big.ncol()); | ~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix90Nested.cpp:118:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 118 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix90Nested.cpp:118:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 118 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix90Nested.cpp:126:53: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 126 | NumericMatrix xMat2_big( sqrt(vMat_big.ncol()), sqrt(vMat_big.ncol()), rowvec_big.begin() ); | ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix90Nested.cpp:126:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 126 | NumericMatrix xMat2_big( sqrt(vMat_big.ncol()), sqrt(vMat_big.ncol()), rowvec_big.begin() ); | ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrix90Nested.cpp:141:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix90Nested.cpp:141:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix90Nested.cpp:176:59: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 176 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix90Nested.cpp:176:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 176 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix90Nested.cpp:206:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 206 | int rl = ValPos.length(); | ~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix90Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix90Nested.cpp:117:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 117 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix90Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix90Nested.cpp:149:35: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 149 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a+d, b)){ | ^ In file included from ProbabilityMatrix90Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ In file included from ProbabilityMatrix90Nested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<14>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ProbabilityMatrix90Nested.cpp:204:28: note: in instantiation of function template specialization 'Rcpp::match<14, true, Rcpp::Vector<14>, true, Rcpp::Vector<14>>' requested here 204 | IntegerVector ValPos = match(Values, Values_big); | ^ 22 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrix90Post.cpp -o ProbabilityMatrix90Post.o In file included from ProbabilityMatrix90Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix90Post.cpp:144:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 144 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix90Post.cpp:144:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 144 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrix90Post.cpp:112:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 112 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix90Post.cpp:112:36: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 112 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrix90Post.cpp:156:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 156 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix90Post.cpp:156:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 156 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrix90Post.cpp:189:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 189 | int rl = ValPos.length(); | ~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrix90Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrix90Post.cpp:121:34: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 121 | if(Values_big(i) == x(a,b) && Values_big(j) == x(a+d, b)){ | ^ In file included from ProbabilityMatrix90Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ In file included from ProbabilityMatrix90Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrix90Post.cpp:143:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 143 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrix90Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrix90Post.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<14>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ProbabilityMatrix90Post.cpp:187:28: note: in instantiation of function template specialization 'Rcpp::match<14, true, Rcpp::Vector<14>, true, Rcpp::Vector<14>>' requested here 187 | IntegerVector ValPos = match(Values, Values_big); | ^ 18 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrixAll.cpp -o ProbabilityMatrixAll.o ProbabilityMatrixAll.cpp:8:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 8 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrixAll.cpp:8:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 8 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrixAll.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrixAll.cpp:19:33: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 19 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a, b+d)){ | ^ In file included from ProbabilityMatrixAll.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 4 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrixAllDynamic.cpp -o ProbabilityMatrixAllDynamic.o In file included from ProbabilityMatrixAllDynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrixAllDynamic.cpp:110:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 110 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrixAllDynamic.cpp:110:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 110 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrixAllDynamic.cpp:127:45: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 127 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrixAllDynamic.cpp:127:28: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 127 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrixAllDynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrixAllDynamic.cpp:109:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 109 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrixAllDynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllDynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllDynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllDynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllDynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllDynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllDynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrixAllDynamic.cpp:135:33: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 135 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a, b+d)){ | ^ In file included from ProbabilityMatrixAllDynamic.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 14 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrixAllNested.cpp -o ProbabilityMatrixAllNested.o In file included from ProbabilityMatrixAllNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrixAllNested.cpp:107:12: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 107 | int bb = sqrt(vMat.ncol()); | ~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrixAllNested.cpp:108:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 108 | int bbb = sqrt(vMat_big.ncol()); | ~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrixAllNested.cpp:118:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 118 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrixAllNested.cpp:118:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 118 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrixAllNested.cpp:127:53: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 127 | NumericMatrix xMat2_big( sqrt(vMat_big.ncol()), sqrt(vMat_big.ncol()), rowvec_big.begin() ); | ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrixAllNested.cpp:127:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 127 | NumericMatrix xMat2_big( sqrt(vMat_big.ncol()), sqrt(vMat_big.ncol()), rowvec_big.begin() ); | ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ProbabilityMatrixAllNested.cpp:146:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 146 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrixAllNested.cpp:146:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 146 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrixAllNested.cpp:199:59: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 199 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrixAllNested.cpp:199:38: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 199 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrixAllNested.cpp:249:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 249 | int rl = ValPos.length(); | ~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrixAllNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrixAllNested.cpp:117:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 117 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrixAllNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrixAllNested.cpp:154:35: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 154 | if(Values(i) == xMat(a,b) && Values(j) == xMat(a, b+d)){ | ^ In file included from ProbabilityMatrixAllNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ In file included from ProbabilityMatrixAllNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<14>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ProbabilityMatrixAllNested.cpp:247:28: note: in instantiation of function template specialization 'Rcpp::match<14, true, Rcpp::Vector<14>, true, Rcpp::Vector<14>>' requested here 247 | IntegerVector ValPos = match(Values, Values_big); | ^ 22 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c ProbabilityMatrixAllPost.cpp -o ProbabilityMatrixAllPost.o In file included from ProbabilityMatrixAllPost.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrixAllPost.cpp:158:45: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 158 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrixAllPost.cpp:158:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'const int' [-Wfloat-conversion] 158 | NumericMatrix xMat2( sqrt(vMat.ncol()), sqrt(vMat.ncol()), rowvec.begin() ); | ~~~~~ ^~~~~~~~~~~~~~~~~ ProbabilityMatrixAllPost.cpp:110:57: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 110 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrixAllPost.cpp:110:36: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 110 | NumericMatrix out_big(Values_big.length(), Values_big.length()); | ~~~~~~~ ~~~~~~~~~~~^~~~~~~~ ProbabilityMatrixAllPost.cpp:165:47: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 165 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrixAllPost.cpp:165:30: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 165 | NumericMatrix out(Values.length(), Values.length()); | ~~~ ~~~~~~~^~~~~~~~ ProbabilityMatrixAllPost.cpp:217:21: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 217 | int rl = ValPos.length(); | ~~ ~~~~~~~^~~~~~~~ In file included from ProbabilityMatrixAllPost.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ ProbabilityMatrixAllPost.cpp:118:34: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 118 | if(Values_big(i) == x(a,b) && Values_big(j) == x(a, b+d)){ | ^ In file included from ProbabilityMatrixAllPost.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ In file included from ProbabilityMatrixAllPost.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ ProbabilityMatrixAllPost.cpp:157:28: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 157 | NumericVector rowvec = vMat(t,_); | ^ In file included from ProbabilityMatrixAllPost.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllPost.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllPost.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllPost.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllPost.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllPost.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from ProbabilityMatrixAllPost.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<14>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ ProbabilityMatrixAllPost.cpp:215:28: note: in instantiation of function template specialization 'Rcpp::match<14, true, Rcpp::Vector<14>, true, Rcpp::Vector<14>>' requested here 215 | IntegerVector ValPos = match(Values, Values_big); | ^ 18 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RcppExports.cpp -o RcppExports.o clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropyAbsRank.cpp -o WeightedEntropyAbsRank.o In file included from WeightedEntropyAbsRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ WeightedEntropyAbsRank.cpp:131:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 131 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsRank.cpp:131:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 131 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsRank.cpp:138:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsRank.cpp:138:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsRank.cpp:147:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 147 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ WeightedEntropyAbsRank.cpp:147:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 147 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from WeightedEntropyAbsRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ WeightedEntropyAbsRank.cpp:111:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 111 | NumericVector x = Hetx(i,_); | ^ In file included from WeightedEntropyAbsRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ WeightedEntropyAbsRank.cpp:136:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 136 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from WeightedEntropyAbsRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropyAbsRank.cpp:143:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 143 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from WeightedEntropyAbsRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropyAbsRankNested.cpp -o WeightedEntropyAbsRankNested.o In file included from WeightedEntropyAbsRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ WeightedEntropyAbsRankNested.cpp:134:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 134 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsRankNested.cpp:134:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 134 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsRankNested.cpp:141:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsRankNested.cpp:141:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsRankNested.cpp:150:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 150 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ WeightedEntropyAbsRankNested.cpp:150:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 150 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from WeightedEntropyAbsRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ WeightedEntropyAbsRankNested.cpp:113:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 113 | NumericVector x = Hetx(i,_); | ^ In file included from WeightedEntropyAbsRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ WeightedEntropyAbsRankNested.cpp:139:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 139 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from WeightedEntropyAbsRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropyAbsRankNested.cpp:146:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 146 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from WeightedEntropyAbsRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropyAbsRankRef.cpp -o WeightedEntropyAbsRankRef.o In file included from WeightedEntropyAbsRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ WeightedEntropyAbsRankRef.cpp:11:26: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 11 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from WeightedEntropyAbsRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropyAbsRankRef.cpp:18:14: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 18 | if(PMat(m,n) == 0) EntMat(m,n) = PMat(m,n) * 0; | ^ In file included from WeightedEntropyAbsRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 3 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropyAbsValue.cpp -o WeightedEntropyAbsValue.o In file included from WeightedEntropyAbsValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ WeightedEntropyAbsValue.cpp:129:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 129 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsValue.cpp:129:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 129 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsValue.cpp:136:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 136 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsValue.cpp:136:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 136 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsValue.cpp:145:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 145 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ WeightedEntropyAbsValue.cpp:145:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 145 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from WeightedEntropyAbsValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ WeightedEntropyAbsValue.cpp:110:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 110 | NumericVector x = Hetx(i,_); | ^ In file included from WeightedEntropyAbsValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ WeightedEntropyAbsValue.cpp:134:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 134 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from WeightedEntropyAbsValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropyAbsValue.cpp:141:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 141 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from WeightedEntropyAbsValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropyAbsValueNested.cpp -o WeightedEntropyAbsValueNested.o In file included from WeightedEntropyAbsValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ WeightedEntropyAbsValueNested.cpp:132:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 132 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsValueNested.cpp:132:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 132 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsValueNested.cpp:139:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 139 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsValueNested.cpp:139:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 139 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropyAbsValueNested.cpp:148:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 148 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ WeightedEntropyAbsValueNested.cpp:148:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 148 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from WeightedEntropyAbsValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ WeightedEntropyAbsValueNested.cpp:112:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 112 | NumericVector x = Hetx(i,_); | ^ In file included from WeightedEntropyAbsValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropyAbsValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ WeightedEntropyAbsValueNested.cpp:137:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 137 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from WeightedEntropyAbsValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropyAbsValueNested.cpp:144:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 144 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from WeightedEntropyAbsValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropyAbsValueRef.cpp -o WeightedEntropyAbsValueRef.o In file included from WeightedEntropyAbsValueRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropyAbsValueRef.cpp:17:14: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 17 | if(PMat(m,n) == 0) EntMat(m,n) = PMat(m,n) * 0; | ^ In file included from WeightedEntropyAbsValueRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 2 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropySqrRank.cpp -o WeightedEntropySqrRank.o In file included from WeightedEntropySqrRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ WeightedEntropySqrRank.cpp:129:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 129 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrRank.cpp:129:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 129 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrRank.cpp:136:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 136 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrRank.cpp:136:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 136 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrRank.cpp:145:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 145 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ WeightedEntropySqrRank.cpp:145:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 145 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from WeightedEntropySqrRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ WeightedEntropySqrRank.cpp:110:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 110 | NumericVector x = Hetx(i,_); | ^ In file included from WeightedEntropySqrRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ WeightedEntropySqrRank.cpp:134:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 134 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from WeightedEntropySqrRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropySqrRank.cpp:141:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 141 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from WeightedEntropySqrRank.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropySqrRankNested.cpp -o WeightedEntropySqrRankNested.o In file included from WeightedEntropySqrRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ WeightedEntropySqrRankNested.cpp:132:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 132 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrRankNested.cpp:132:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 132 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrRankNested.cpp:139:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 139 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrRankNested.cpp:139:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 139 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrRankNested.cpp:148:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 148 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ WeightedEntropySqrRankNested.cpp:148:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 148 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from WeightedEntropySqrRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ WeightedEntropySqrRankNested.cpp:112:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 112 | NumericVector x = Hetx(i,_); | ^ In file included from WeightedEntropySqrRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ WeightedEntropySqrRankNested.cpp:137:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 137 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from WeightedEntropySqrRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropySqrRankNested.cpp:144:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 144 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from WeightedEntropySqrRankNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropySqrRankRef.cpp -o WeightedEntropySqrRankRef.o In file included from WeightedEntropySqrRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ WeightedEntropySqrRankRef.cpp:11:26: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 11 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from WeightedEntropySqrRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropySqrRankRef.cpp:18:14: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 18 | if(PMat(m,n) == 0) EntMat(m,n) = PMat(m,n) * 0; | ^ In file included from WeightedEntropySqrRankRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropySqrValue.cpp -o WeightedEntropySqrValue.o 3 warnings generated. In file included from WeightedEntropySqrValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ WeightedEntropySqrValue.cpp:131:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 131 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrValue.cpp:131:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 131 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrValue.cpp:138:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrValue.cpp:138:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 138 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrValue.cpp:147:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 147 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ WeightedEntropySqrValue.cpp:147:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 147 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from WeightedEntropySqrValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ WeightedEntropySqrValue.cpp:112:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 112 | NumericVector x = Hetx(i,_); | ^ In file included from WeightedEntropySqrValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ WeightedEntropySqrValue.cpp:136:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 136 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from WeightedEntropySqrValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropySqrValue.cpp:143:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 143 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from WeightedEntropySqrValue.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 17 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropySqrValueNested.cpp -o WeightedEntropySqrValueNested.o In file included from WeightedEntropySqrValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ WeightedEntropySqrValueNested.cpp:134:49: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 134 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrValueNested.cpp:134:34: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 134 | NumericMatrix xPMat(xVal.length(), xVal.length()); | ~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrValueNested.cpp:141:52: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrValueNested.cpp:141:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 141 | NumericMatrix xPMatSub(xVal.length(), xVal.length()); | ~~~~~~~~ ~~~~~^~~~~~~~ WeightedEntropySqrValueNested.cpp:150:54: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 150 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ WeightedEntropySqrValueNested.cpp:150:37: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'const int' [-Wshorten-64-to-32] 150 | NumericMatrix EntMat(ValPos.length(), ValPos.length()); | ~~~~~~ ~~~~~~~^~~~~~~~ In file included from WeightedEntropySqrValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:51:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 51 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1070:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_expression>' requested here 1070 | import_expression( other.get_ref() , n ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:164:9: note: in instantiation of function template specialization 'Rcpp::Vector<14>::import_sugar_expression>' requested here 164 | import_sugar_expression( other, typename traits::same_type::type() ) ; | ^ WeightedEntropySqrValueNested.cpp:114:23: note: in instantiation of function template specialization 'Rcpp::Vector<14>::Vector>' requested here 114 | NumericVector x = Hetx(i,_); | ^ In file included from WeightedEntropySqrValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:52:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 52 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:53:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 53 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:54:28: note: expanded from macro 'RCPP_LOOP_UNROLL' 54 | TARGET[i] = SOURCE[i] ; i++ ; \ | ~~~~~~ ^ In file included from WeightedEntropySqrValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:58:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 58 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:60:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 60 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:51: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:1084:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 1084 | RCPP_LOOP_UNROLL(start,other) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/macros/unroll.h:62:26: note: expanded from macro 'RCPP_LOOP_UNROLL' 62 | TARGET[i] = SOURCE[i] ; i++ ; /* fallthrough */ \ | ~~~~~~ ^ In file included from WeightedEntropySqrValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:78: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/sugar.h:28: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/hash.h:27: /Users/ripley/R/Library/Rcpp/include/Rcpp/hash/IndexHash.h:98:50: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 98 | return lookup__impl(vec.begin(), vec.size() ) ; | ~~~~~~~~~~~~ ~~~~^~~~~~ /Users/ripley/R/Library/Rcpp/include/Rcpp/sugar/functions/match.h:30:52: note: in instantiation of member function 'Rcpp::sugar::IndexHash<16>::lookup' requested here 30 | return sugar::IndexHash( table ).fill().lookup( x.get_ref() ) ; | ^ WeightedEntropySqrValueNested.cpp:139:32: note: in instantiation of function template specialization 'Rcpp::match<16, true, Rcpp::Vector<16>, true, Rcpp::Vector<16>>' requested here 139 | IntegerVector ValPos = match(xVals, xrows); | ^ In file included from WeightedEntropySqrValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropySqrValueNested.cpp:146:21: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 146 | xPMatSub(t,s) = PMat_(ValPos[t]-1, pos); | ^ In file included from WeightedEntropySqrValueNested.cpp:2: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: In file included from /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:15: In file included from /Users/ripley/R/Library/RcppProgress/include/interrupts.hpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c WeightedEntropySqrValueRef.cpp -o WeightedEntropySqrValueRef.o 17 warnings generated. In file included from WeightedEntropySqrValueRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ WeightedEntropySqrValueRef.cpp:17:14: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 17 | if(PMat(m,n) == 0) EntMat(m,n) = PMat(m,n) * 0; | ^ In file included from WeightedEntropySqrValueRef.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 2 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c focal_get.cpp -o focal_get.o focal_get.cpp:12:13: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] 12 | int nrow = dim[0]; | ~~~~ ^~~~~~ focal_get.cpp:13:13: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] 13 | int ncol = dim[1]; | ~~~~ ^~~~~~ focal_get.cpp:15:14: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] 15 | int wrows = ngb[0]; | ~~~~~ ^~~~~~ focal_get.cpp:16:14: warning: implicit conversion turns floating-point number into integer: 'typename storage_type<14>::type' (aka 'double') to 'int' [-Wfloat-conversion] 16 | int wcols = ngb[1]; | ~~~~~ ^~~~~~ 4 warnings generated. clang++ -mmacos-version-min=14.6 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Users/ripley/R/R-devel/lib -L/opt/R/arm64/lib -o StrucDiv.so ContrastRank.o ContrastRankNested.o ContrastRankRef.o ContrastValue.o ContrastValueNested.o ContrastValueRef.o DissimilarityRank.o DissimilarityRankNested.o DissimilarityRankRef.o DissimilarityValue.o DissimilarityValueNested.o DissimilarityValueRef.o Entropy.o EntropyNested.o EntropyRef.o HomogeneityRank.o HomogeneityRankNested.o HomogeneityRankRef.o HomogeneityValue.o HomogeneityValueNested.o HomogeneityValueRef.o NormalizedEntropy.o NormalizedEntropyNested.o NormalizedEntropyRef.o ProbabilityMatrix0.o ProbabilityMatrix0Dynamic.o ProbabilityMatrix0Nested.o ProbabilityMatrix0Post.o ProbabilityMatrix135.o ProbabilityMatrix135Dynamic.o ProbabilityMatrix135Nested.o ProbabilityMatrix135Post.o ProbabilityMatrix45.o ProbabilityMatrix45Dynamic.o ProbabilityMatrix45Nested.o ProbabilityMatrix45Post.o ProbabilityMatrix90.o ProbabilityMatrix90Dynamic.o ProbabilityMatrix90Nested.o ProbabilityMatrix90Post.o ProbabilityMatrixAll.o ProbabilityMatrixAllDynamic.o ProbabilityMatrixAllNested.o ProbabilityMatrixAllPost.o RcppExports.o WeightedEntropyAbsRank.o WeightedEntropyAbsRankNested.o WeightedEntropyAbsRankRef.o WeightedEntropyAbsValue.o WeightedEntropyAbsValueNested.o WeightedEntropyAbsValueRef.o WeightedEntropySqrRank.o WeightedEntropySqrRankNested.o WeightedEntropySqrRankRef.o WeightedEntropySqrValue.o WeightedEntropySqrValueNested.o WeightedEntropySqrValueRef.o focal_get.o -L/Users/ripley/R/Library/RcppParallel/lib -ltbb -ltbbmalloc -L/Users/ripley/R/R-devel/lib -lR -Wl,-framework -Wl,CoreFoundation installing to /Users/ripley/R/packages/tests-devel/StrucDiv.Rcheck/00LOCK-StrucDiv/00new/StrucDiv/libs ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘StrucDiv’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Users/ripley/R/packages/tests-devel/StrucDiv.Rcheck/00LOCK-StrucDiv/00new/StrucDiv/libs/StrucDiv.so': dlopen(/Users/ripley/R/packages/tests-devel/StrucDiv.Rcheck/00LOCK-StrucDiv/00new/StrucDiv/libs/StrucDiv.so, 0x0006): Library not loaded: @rpath/libtbb.dylib Referenced from: <3D8F0E4B-308B-3DF1-BE8B-0C9F4F46B68A> /Users/ripley/R/packages/tests-devel/StrucDiv.Rcheck/00LOCK-StrucDiv/00new/StrucDiv/libs/StrucDiv.so Reason: tried: '/Users/ripley/R/R-devel/lib/libtbb.dylib' (no such file), '/opt/R/arm64/lib/libtbb.dylib' (no such file), '/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/lib/server/libtbb.dylib' (no such file) Error: loading failed Execution halted ERROR: loading failed * removing ‘/Users/ripley/R/packages/tests-devel/StrucDiv.Rcheck/StrucDiv’