* installing *source* package ‘ccaPP’ ... ** package ‘ccaPP’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-13 (GCC) 13.2.0’ using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/ccaPP/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c cca.cpp -o cca.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:29, from cca.h:11, from cca.cpp:7: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition cca.cpp: In function 'SEXPREC* R_fastCor(SEXP, SEXP, SEXP, SEXP)': cca.cpp:206:17: error: 'error' was not declared in this scope; did you mean 'perror'? 206 | error("method not available"); | ^~~~~ | perror cca.cpp: In function 'arma::mat standardize(const arma::mat&, const bool&, const bool&, arma::vec&, arma::vec&)': cca.cpp:788:45: error: 'error' was not declared in this scope; did you mean 'perror'? 788 | if(scale(j) == 0.0) error("zero scale"); | ^~~~~ | perror cca.cpp:800:45: error: 'error' was not declared in this scope; did you mean 'perror'? 800 | if(scale(j) == 0.0) error("zero scale"); | ^~~~~ | perror cca.cpp: In function 'SEXPREC* R_ccaPP(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': cca.cpp:978:25: error: 'error' was not declared in this scope; did you mean 'perror'? 978 | error("method not available"); | ^~~~~ | perror cca.cpp:1005:25: error: 'error' was not declared in this scope; did you mean 'perror'? 1005 | error("method not available"); | ^~~~~ | perror cca.cpp:1008:17: error: 'error' was not declared in this scope; did you mean 'perror'? 1008 | error("algorithm not available"); | ^~~~~ | perror make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: cca.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/ccaPP/src' ERROR: compilation failed for package ‘ccaPP’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/ccaPP-lib/ccaPP’ Command exited with non-zero status 1 Time 0:22.10, 19.27 + 1.27