* installing *source* package 'UComp' ... ** this is package 'UComp' version '5.1.6' ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 14.3.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c UCompC.cpp -o UCompC.o In file included from BSMmodel.h:17, from UCompC.cpp:6: stats.h: In function 'void selectHarmonics(arma::vec&, arma::mat&, arma::vec, arma::uvec&, arma::vec&, std::string&)': stats.h:229:61: error: conversion from 'bool' to non-scalar type 'arma::uvec' {aka 'arma::Col'} requested 229 | uvec aux = (ind(0, nHarm - 1) + ind(nHarm, 2 * nHarm - 1) > 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from BSMmodel.h:19: SSpace.h: In member function 'void SSmodel::forecast()': SSpace.h:282:26: error: cannot convert 'arma::enable_if2, arma::Col, arma::glue_times> >::result' {aka 'const arma::Glue, arma::Col, arma::glue_times>'} to 'double' in assignment 282 | inputs.yFor(i) = Z * at; | ~~^~~~ | | | arma::enable_if2, arma::Col, arma::glue_times> >::result {aka const arma::Glue, arma::Col, arma::glue_times>} SSpace.h:284:26: error: no match for 'operator+=' (operand types are 'double' and 'arma::mat' {aka 'arma::Mat'}) 284 | inputs.yFor(i) += inputs.system.D; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ SSpace.h:286:26: error: no match for 'operator+=' (operand types are 'double' and 'arma::enable_if2, arma::subview_col, arma::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:39: error: cannot convert 'arma::enable_if2, arma::Mat, arma::glue_times>, arma::Op, arma::op_htrans>, arma::glue_times>, arma::Mat, arma::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>'} to 'double' in assignment 288 | inputs.FFor(i) = Z * Pt * Z.t() + CHCt; | ~~~~~~~~~~~~~~~^~~~~~ | | | arma::enable_if2, arma::Mat, arma::glue_times>, arma::Op, arma::op_htrans>, arma::glue_times>, arma::Mat, arma::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>} make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:296: UCompC.o] Error 1 ERROR: compilation failed for package 'UComp' * removing 'd:/RCompile/CRANincoming/R-devel/lib/UComp'