* installing *source* package 'BayesSurvive' ... ** this is package 'BayesSurvive' version '0.1.0' ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 14.2.0' using C++ compiler: 'g++.exe (GCC) 14.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/CRANincoming/R-devel/lib/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/testthat/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o RcppExports.cpp:15:106: error: 'uint' does not name a type; did you mean 'int'? 15 | Rcpp::List UpdateGamma_cpp(const Rcpp::List sobj, const Rcpp::List hyperpar, const Rcpp::List ini, const uint S, const std::string method, const bool MRF_G, const bool MRF_2b); | ^~~~ | int RcppExports.cpp: In function 'SEXPREC* _BayesSurvive_UpdateGamma_cpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': RcppExports.cpp:23:47: error: template argument 1 is invalid 23 | Rcpp::traits::input_parameter< const uint >::type S(SSEXP); | ^ RcppExports.cpp:23:55: error: qualified-id in declaration before 'S' 23 | Rcpp::traits::input_parameter< const uint >::type S(SSEXP); | ^ RcppExports.cpp:27:71: error: 'S' was not declared in this scope 27 | rcpp_result_gen = Rcpp::wrap(UpdateGamma_cpp(sobj, hyperpar, ini, S, method, MRF_G, MRF_2b)); | ^ RcppExports.cpp: At global scope: RcppExports.cpp:32:108: error: 'uint' does not name a type; did you mean 'int'? 32 | Rcpp::List UpdateRPlee11_cpp(const Rcpp::List sobj, const Rcpp::List hyperpar, const Rcpp::List ini, const uint S, const std::string method, const bool MRF_G); | ^~~~ | int RcppExports.cpp: In function 'SEXPREC* _BayesSurvive_UpdateRPlee11_cpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': RcppExports.cpp:40:47: error: template argument 1 is invalid 40 | Rcpp::traits::input_parameter< const uint >::type S(SSEXP); | ^ RcppExports.cpp:40:55: error: qualified-id in declaration before 'S' 40 | Rcpp::traits::input_parameter< const uint >::type S(SSEXP); | ^ RcppExports.cpp:43:73: error: 'S' was not declared in this scope 43 | rcpp_result_gen = Rcpp::wrap(UpdateRPlee11_cpp(sobj, hyperpar, ini, S, method, MRF_G)); | ^ RcppExports.cpp: At global scope: RcppExports.cpp:48:110: error: 'uint' does not name a type; did you mean 'int'? 48 | Rcpp::List func_MCMC_graph_cpp(const Rcpp::List sobj, const Rcpp::List hyperpar, const Rcpp::List ini, const uint S, const std::string method, const bool MRF_2b); | ^~~~ | int RcppExports.cpp: In function 'SEXPREC* _BayesSurvive_func_MCMC_graph_cpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': RcppExports.cpp:56:47: error: template argument 1 is invalid 56 | Rcpp::traits::input_parameter< const uint >::type S(SSEXP); | ^ RcppExports.cpp:56:55: error: qualified-id in declaration before 'S' 56 | Rcpp::traits::input_parameter< const uint >::type S(SSEXP); | ^ RcppExports.cpp:59:75: error: 'S' was not declared in this scope 59 | rcpp_result_gen = Rcpp::wrap(func_MCMC_graph_cpp(sobj, hyperpar, ini, S, method, MRF_2b)); | ^ make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:296: RcppExports.o] Error 1 ERROR: compilation failed for package 'BayesSurvive' * removing 'd:/RCompile/CRANincoming/R-devel/lib/BayesSurvive'