* installing *source* package ‘mnmer’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 18.1.4 (1)’ clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/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:201:13: error: use of undeclared identifier 'asInteger'; did you mean 'Rf_asInteger'? 201 | int m = asInteger (mm); | ^~~~~~~~~ | Rf_asInteger /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:470:5: note: 'Rf_asInteger' declared here 470 | int Rf_asInteger(SEXP x); | ^ mnmercpp.cc:202:13: error: use of undeclared identifier 'asInteger'; did you mean 'Rf_asInteger'? 202 | int n = asInteger (nn); | ^~~~~~~~~ | Rf_asInteger /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:470:5: note: 'Rf_asInteger' declared here 470 | int Rf_asInteger(SEXP x); | ^ mnmercpp.cc:219:17: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 219 | SEXP Stab = allocVector(STRSXP, result.size()); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1052:10: note: 'Rf_allocVector' declared here 1052 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ mnmercpp.cc:222:12: error: use of undeclared identifier 'mkString' 222 | Stab = mkString(result.c_str()); | ^ mnmercpp.cc:232:25: error: use of undeclared identifier 'asInteger'; did you mean 'Rf_asInteger'? 232 | unsigned size = asInteger (rsize); | ^~~~~~~~~ | Rf_asInteger /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:470:5: note: 'Rf_asInteger' declared here 470 | int Rf_asInteger(SEXP x); | ^ mnmercpp.cc:233:21: error: use of undeclared identifier 'asReal' 233 | float pni = asReal (rpni); | ^ mnmercpp.cc:250:21: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 250 | SEXP cstr = allocVector(STRSXP, sf.size()); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1052:10: note: 'Rf_allocVector' declared here 1052 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ mnmercpp.cc:253:16: error: use of undeclared identifier 'mkString' 253 | cstr = mkString(sf.c_str()); | ^ 8 errors generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:200: mnmercpp.o] Error 1 ERROR: compilation failed for package ‘mnmer’ * removing ‘/srv/hornik/tmp/CRAN/mnmer.Rcheck/mnmer’