* installing *source* package 'seededlda' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANincoming/R-devel/lib/quanteda/include' -I'D:/RCompile/CRANpkg/lib/4.5/testthat/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -DARMA_64BIT_WORD=1 -DTBB -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.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANincoming/R-devel/lib/quanteda/include' -I'D:/RCompile/CRANpkg/lib/4.5/testthat/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -DARMA_64BIT_WORD=1 -DTBB -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c lda.cpp -o lda.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANincoming/R-devel/lib/quanteda/include' -I'D:/RCompile/CRANpkg/lib/4.5/testthat/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -DSTRICT_R_HEADERS=1 -DARMA_64BIT_WORD=1 -DTBB -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c test-array.cpp -o test-array.o In file included from test-array.cpp:1: array.h:21:11: error: 'arma' has not been declared 21 | Array(arma::mat mt): row(mt.n_rows), col(mt.n_cols), data(to_data(mt)) {} | ^~~~ array.h:21:20: error: expected ')' before 'mt' 21 | Array(arma::mat mt): row(mt.n_rows), col(mt.n_cols), data(to_data(mt)) {} | ~ ^~~ | ) array.h:22:11: error: 'arma' has not been declared 22 | Array(arma::sp_mat smt): row(smt.n_rows), col(smt.n_cols), data(to_data(smt)) {} | ^~~~ array.h:22:23: error: expected ')' before 'smt' 22 | Array(arma::sp_mat smt): row(smt.n_rows), col(smt.n_cols), data(to_data(smt)) {} | ~ ^~~~ | ) array.h:60:5: error: 'arma' does not name a type 60 | arma::mat to_mat() { | ^~~~ array.h:71:5: error: 'arma' does not name a type 71 | arma::sp_mat to_smat() { | ^~~~ array.h:91:18: error: 'arma' has not been declared 91 | Data to_data(arma::mat &mt) { | ^~~~ array.h:91:28: error: expected ',' or '...' before '&' token 91 | Data to_data(arma::mat &mt) { | ^ array.h:100:18: error: 'arma' has not been declared 100 | Data to_data(arma::sp_mat &smt) { | ^~~~ array.h:100:31: error: expected ',' or '...' before '&' token 100 | Data to_data(arma::sp_mat &smt) { | ^ array.h:100:10: error: 'Array::Data Array::to_data(int)' cannot be overloaded with 'Array::Data Array::to_data(int)' 100 | Data to_data(arma::sp_mat &smt) { | ^~~~~~~ array.h:91:10: note: previous declaration 'Array::Data Array::to_data(int)' 91 | Data to_data(arma::mat &mt) { | ^~~~~~~ array.h: In member function 'Array::Data Array::to_data(int)': array.h:92:19: error: 'mt' was not declared in this scope; did you mean 'at'? 92 | Data temp(mt.n_rows, std::vector(mt.n_cols, 0)); | ^~ | at array.h: In member function 'Array::Data Array::to_data(int)': array.h:103:9: error: 'arma' has not been declared 103 | arma::mat mt(smt); | ^~~~ array.h:106:24: error: 'mt' was not declared in this scope; did you mean 'at'? 106 | return to_data(mt); | ^~ | at test-array.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': test-array.cpp:6:5: error: 'arma' has not been declared 6 | arma::mat mt = {{1, 2}, {3, 4}, {5, 6}}; | ^~~~ test-array.cpp:7:5: error: 'arma' has not been declared 7 | arma::rowvec rv = {1, 2, 3, 4}; | ^~~~ test-array.cpp:8:5: error: 'arma' has not been declared 8 | arma::colvec cv = {1, 2, 3, 4}; | ^~~~ test-array.cpp:10:18: error: 'mt' was not declared in this scope; did you mean 'tm'? 10 | Array arr_mt(mt); | ^~ | tm test-array.cpp:11:18: error: 'rv' was not declared in this scope 11 | Array arr_rv(rv); | ^~ test-array.cpp:12:18: error: 'cv' was not declared in this scope 12 | Array arr_cv(cv); | ^~ make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:296: test-array.o] Error 1 ERROR: compilation failed for package 'seededlda' * removing 'd:/RCompile/CRANincoming/R-devel/lib/seededlda'