* installing *source* package ‘mnmer’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 17.0.6 (5)’ clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c mnmercpp.cc -o mnmercpp.o mnmercpp.cc:202:13: error: use of undeclared identifier 'asInteger'; did you mean 'Rf_asInteger'? 202 | int m = asInteger (mm); | ^~~~~~~~~ | Rf_asInteger /home/hornik/tmp/R-d-clang-17/include/Rinternals.h:470:5: note: 'Rf_asInteger' declared here 470 | int Rf_asInteger(SEXP x); | ^ mnmercpp.cc:203:13: error: use of undeclared identifier 'asInteger'; did you mean 'Rf_asInteger'? 203 | int n = asInteger (nn); | ^~~~~~~~~ | Rf_asInteger /home/hornik/tmp/R-d-clang-17/include/Rinternals.h:470:5: note: 'Rf_asInteger' declared here 470 | int Rf_asInteger(SEXP x); | ^ mnmercpp.cc:220:17: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 220 | SEXP Stab = allocVector(STRSXP, result.size()); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-17/include/Rinternals.h:1052:10: note: 'Rf_allocVector' declared here 1052 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ mnmercpp.cc:223:12: error: use of undeclared identifier 'mkString' 223 | Stab = mkString(result.c_str()); | ^ mnmercpp.cc:233:25: error: use of undeclared identifier 'asInteger'; did you mean 'Rf_asInteger'? 233 | unsigned size = asInteger (rsize); | ^~~~~~~~~ | Rf_asInteger /home/hornik/tmp/R-d-clang-17/include/Rinternals.h:470:5: note: 'Rf_asInteger' declared here 470 | int Rf_asInteger(SEXP x); | ^ mnmercpp.cc:234:21: error: use of undeclared identifier 'asReal' 234 | float pni = asReal (rpni); | ^ mnmercpp.cc:251:21: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 251 | SEXP cstr = allocVector(STRSXP, sf.size()); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-17/include/Rinternals.h:1052:10: note: 'Rf_allocVector' declared here 1052 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ mnmercpp.cc:254:16: error: use of undeclared identifier 'mkString' 254 | cstr = mkString(sf.c_str()); | ^ 8 errors generated. make: *** [/home/hornik/tmp/R-d-clang-17/etc/Makeconf:200: mnmercpp.o] Error 1 ERROR: compilation failed for package ‘mnmer’ * removing ‘/srv/hornik/tmp/CRAN/mnmer.Rcheck/mnmer’