* installing *source* package ‘sts’ ... ** this is package ‘sts’ version ‘1.4’ ** package ‘sts’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’ using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’ using SDK: ‘MacOSX26.0.sdk’ clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:29: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/version/arma.h:71:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT. See GitHub issue #475 for more. [-W#pragma-messages] 71 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT. See GitHub issue #475 for more.") | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:80: In file included from /Users/ripley/R/Library/RcppArmadillo/include/legacy/armadillo:145: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/rng/Alt_R_RNG.h:75:12: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 75 | return ::Rf_runif(0, RAND_MAX); //std::rand(); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:40: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloSugar.h:45:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 45 | j[ie] = cp; | ~ ^~ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:80: In file included from /Users/ripley/R/Library/RcppArmadillo/include/legacy/armadillo:145: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/rng/Alt_R_RNG.h:134:22: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | mem[i] = ::Rf_runif(0, RAND_MAX); | ~ ^~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/RcppArmadillo/include/legacy/armadillo_bits/arma_rng.hpp:375:21: note: in instantiation of function template specialization 'arma::arma_rng_alt::randi_fill' requested here 375 | arma_rng_alt::randi_fill(mem, N, a, b); | ^ /Users/ripley/R/Library/RcppArmadillo/include/legacy/armadillo_bits/fn_randi.hpp:149:27: note: in instantiation of member function 'arma::arma_rng::randi::fill' requested here 149 | arma_rng::randi::fill(&out_val, uword(1), a, b); | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:39: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:613:94: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 613 | ArmaVec_InputParameter( SEXP x_ ) : v(x_), vec( reinterpret_cast( v.begin() ), v.size(), false ){} | ~~~ ~~^~~~~~ /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:647:5: note: in instantiation of member function 'Rcpp::ArmaVec_InputParameter, const arma::Col &>::ArmaVec_InputParameter' requested here 647 | MAKE_INPUT_PARAMETER(ConstReferenceInputParameter, arma::Col, const arma::Col& ) | ^ /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:644:27: note: expanded from macro 'MAKE_INPUT_PARAMETER' 644 | INPUT_TYPE( SEXP x) : ArmaVec_InputParameter(x){} \ | ^ RcppExports.cpp:20:61: note: in instantiation of member function 'Rcpp::ConstReferenceInputParameter>::ConstReferenceInputParameter' requested here 20 | Rcpp::traits::input_parameter< const arma::vec& >::type alpha_d(alpha_dSEXP); | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:171: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:124:9: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'uword' (aka 'unsigned int') [-Wshorten-64-to-32] 124 | res[i] = caster(start[i]) ; | ~~~ ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:130:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__impl, unsigned int>' requested here 130 | export_indexing__impl( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/export.h:153:4: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing__dispatch, unsigned int>' requested here 153 | export_indexing__dispatch( | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/Exporter.h:86:35: note: in instantiation of function template specialization 'Rcpp::internal::export_indexing, unsigned int>' requested here 86 | ::Rcpp::internal::export_indexing( object, result ) ; | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:89:29: note: in instantiation of member function 'Rcpp::traits::MatrixExporter, unsigned int>::get' requested here 89 | return exporter.get(); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/as.h:152:26: note: in instantiation of function template specialization 'Rcpp::internal::as>' requested here 152 | return internal::as(x, typename traits::r_type_traits::r_category()); | ^ /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:590:56: note: in instantiation of function template specialization 'Rcpp::as>' requested here 590 | ArmaMat_InputParameter( SEXP x_ ): m(x_), mat( as(m) ) {} | ^ /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:665:5: note: in instantiation of member function 'Rcpp::ArmaMat_InputParameter, const arma::Mat &>::ArmaMat_InputParameter' requested here 665 | MAKE_INPUT_PARAMETER(ConstReferenceInputParameter, arma::Mat, const arma::Mat& ) | ^ /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloAs.h:662:27: note: expanded from macro 'MAKE_INPUT_PARAMETER' 662 | INPUT_TYPE( SEXP x) : ArmaMat_InputParameter(x){} \ | ^ RcppExports.cpp:25:62: note: in instantiation of member function 'Rcpp::ConstReferenceInputParameter>::ConstReferenceInputParameter' requested here 25 | Rcpp::traits::input_parameter< const arma::umat& >::type docs(docsSEXP); | ^ 7 warnings generated. clang -mmacos-version-min=15 -std=gnu23 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -isystem /opt/R/arm64/include -fPIC -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -c init.c -o init.o clang++ -mmacos-version-min=15 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c sts.cpp -o sts.o In file included from sts.cpp:1: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:29: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/version/arma.h:71:17: warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT. See GitHub issue #475 for more. [-W#pragma-messages] 71 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT. See GitHub issue #475 for more.") | ^ In file included from sts.cpp:1: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from sts.cpp:1: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:32: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:80: In file included from /Users/ripley/R/Library/RcppArmadillo/include/legacy/armadillo:145: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/rng/Alt_R_RNG.h:75:12: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 75 | return ::Rf_runif(0, RAND_MAX); //std::rand(); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ In file included from sts.cpp:1: In file included from /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo.h:40: /Users/ripley/R/Library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloSugar.h:45:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'typename storage_type<13>::type' (aka 'int') [-Wshorten-64-to-32] 45 | j[ie] = cp; | ~ ^~ sts.cpp:2:10: fatal error: 'armadillo' file not found 2 | #include | ^~~~~~~~~~~ 4 warnings and 1 error generated. make[1]: *** [sts.o] Error 1 make[1]: Target `all' not remade because of errors. ERROR: compilation failed for package ‘sts’ * removing ‘/Users/ripley/R/packages/tests-devel/sts.Rcheck/sts’