* installing *source* package ‘UComp’ ... ** this is package ‘UComp’ version ‘5.1.6’ ** using staged installation ** libs using C++ compiler: ‘Debian clang version 21.1.8 (1+b1)’ clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c UCompC.cpp -o UCompC.o In file included from UCompC.cpp:6: In file included from ./BSMmodel.h:17: ./stats.h:229:8: error: no viable conversion from 'bool' to 'uvec' (aka 'Col') 229 | uvec aux = (ind(0, nHarm - 1) + ind(nHarm, 2 * nHarm - 1) > 0); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:37:10: note: candidate constructor not viable: no known conversion from 'bool' to 'const Col &' for 1st argument 37 | inline Col(const Col& X); | ^ ~~~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:55:21: note: candidate constructor not viable: no known conversion from 'bool' to 'const char *' for 1st argument 55 | inline Col(const char* text); | ^ ~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:58:21: note: candidate constructor not viable: no known conversion from 'bool' to 'const std::string &' (aka 'const basic_string &') for 1st argument 58 | inline Col(const std::string& text); | ^ ~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:61:21: note: candidate constructor not viable: no known conversion from 'bool' to 'const std::vector &' for 1st argument 61 | inline Col(const std::vector& x); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:64:21: note: candidate constructor not viable: no known conversion from 'bool' to 'const std::initializer_list &' for 1st argument 64 | inline Col(const std::initializer_list& list); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:67:21: note: candidate constructor not viable: no known conversion from 'bool' to 'Col &&' for 1st argument 67 | inline Col(Col&& m); | ^ ~~~~~~~ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:91:21: note: candidate constructor not viable: no known conversion from 'bool' to 'const subview_cube &' for 1st argument 91 | inline Col(const subview_cube& X); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:76:44: note: candidate template ignored: could not match 'Base' against 'bool' 76 | template inline Col(const Base& X); | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:88:43: note: candidate template ignored: could not match 'BaseCube' against 'bool' 88 | template inline Col(const BaseCube& X); | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/internal/Col_proto.h:28:8: note: candidate template ignored: could not match 'Rcpp::VectorBase' against 'bool' 28 | inline Col( const Rcpp::VectorBase& X ) ; | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/internal/Col_proto.h:31:8: note: candidate template ignored: could not match 'Rcpp::MatrixBase' against 'bool' 31 | inline Col( const Rcpp::MatrixBase& X ) ; | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:39:19: note: explicit constructor is not a candidate 39 | inline explicit Col(const uword n_elem); | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:41:19: note: explicit constructor is not a candidate 41 | inline explicit Col(const SizeMat& s); | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include/current/armadillo_bits/Col_bones.hpp:79:44: note: explicit constructor is not a candidate 79 | template inline explicit Col(const SpBase& X); | ^ In file included from UCompC.cpp:6: In file included from ./BSMmodel.h:19: ./SSpace.h:282:24: error: assigning to 'double' from incompatible type 'typename enable_if2>::value && is_arma_type>::value && is_same_type::elem_type, typename Col::elem_type>::value, const Glue, arma::Col, glue_times>>::result' (aka 'const arma::Glue, arma::Col, arma::glue_times>') 282 | inputs.yFor(i) = Z * at; | ^~~~~~ ./SSpace.h:284:26: error: invalid operands to binary expression ('double' and 'mat' (aka 'Mat')) 284 | inputs.yFor(i) += inputs.system.D; | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ ./SSpace.h:286:26: error: invalid operands to binary expression ('double' and 'typename enable_if2>::value && is_arma_type>::value && is_same_type::elem_type, typename subview_col::elem_type>::value, const Glue, arma::subview_col, glue_times>>::result' (aka 'const arma::Glue, arma::subview_col, arma::glue_times>')) 286 | inputs.yFor(i) += inputs.system.D * SSmodel::inputs.u.col(n + i); | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SSpace.h:288:24: error: assigning to 'double' from incompatible type 'typename enable_if2, arma::Mat, arma::glue_times>, arma::Op, arma::op_htrans>, arma::glue_times>>::value && is_arma_type>::value && is_same_type, arma::Mat, arma::glue_times>, arma::Op, arma::op_htrans>, arma::glue_times>::elem_type, typename Mat::elem_type>::value, const eGlue, arma::Mat, arma::glue_times>, arma::Op, arma::op_htrans>, arma::glue_times>, arma::Mat, eglue_plus>>::result' (aka 'const arma::eGlue, arma::Mat, arma::glue_times>, arma::Op, arma::op_htrans>, arma::glue_times>, arma::Mat, arma::eglue_plus>') 288 | inputs.FFor(i) = Z * Pt * Z.t() + CHCt; | ^~~~~~~~~~~~~~~~~~~~~ 5 errors generated. make: *** [/home/hornik/tmp/R-d-clang-21/etc/Makeconf:201: UCompC.o] Error 1 ERROR: compilation failed for package ‘UComp’ * removing ‘/srv/hornik/tmp/CRAN_pretest/UComp.Rcheck/UComp’