* installing *source* package ‘NMF’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 18.1.8 (9)’ using C++ compiler: ‘Debian clang version 18.1.8 (9)’ clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c distance.cpp -o distance.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c divergence.cpp -o divergence.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c euclidean.cpp -o euclidean.o clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -c registerDynamicSymbol.c -o registerDynamicSymbol.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c utils.cpp -o utils.o utils.cpp:48:16: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 48 | PROTECT(ans = allocVector(STRSXP, 1)); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:385:31: note: expanded from macro 'PROTECT' 385 | #define PROTECT(s) Rf_protect(s) | ^ /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1075:10: note: 'Rf_allocVector' declared here 1075 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ utils.cpp:50:25: error: use of undeclared identifier 'mkChar' 50 | SET_STRING_ELT(ans, 0, mkChar(tmp)); | ^ utils.cpp:218:7: error: use of undeclared identifier 'isNumeric'; did you mean 'Rf_isNumeric'? 218 | if (!isNumeric(x)) | ^~~~~~~~~ | Rf_isNumeric /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1090:10: note: 'Rf_isNumeric' declared here 1090 | Rboolean Rf_isNumeric(SEXP); | ^ utils.cpp:227:17: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 227 | PROTECT(ans = allocVector(REALSXP, p)); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:385:31: note: expanded from macro 'PROTECT' 385 | #define PROTECT(s) Rf_protect(s) | ^ /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1075:10: note: 'Rf_allocVector' declared here 1075 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ utils.cpp:233:17: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 233 | PROTECT(ans = allocVector(INTSXP, p)); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:385:31: note: expanded from macro 'PROTECT' 385 | #define PROTECT(s) Rf_protect(s) | ^ /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1075:10: note: 'Rf_allocVector' declared here 1075 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ utils.cpp:253:7: error: use of undeclared identifier 'isNumeric'; did you mean 'Rf_isNumeric'? 253 | if (!isNumeric(x)) | ^~~~~~~~~ | Rf_isNumeric /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1090:10: note: 'Rf_isNumeric' declared here 1090 | Rboolean Rf_isNumeric(SEXP); | ^ utils.cpp:262:17: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 262 | PROTECT(ans = allocVector(REALSXP, p)); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:385:31: note: expanded from macro 'PROTECT' 385 | #define PROTECT(s) Rf_protect(s) | ^ /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1075:10: note: 'Rf_allocVector' declared here 1075 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ utils.cpp:268:17: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 268 | PROTECT(ans = allocVector(INTSXP, p)); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:385:31: note: expanded from macro 'PROTECT' 385 | #define PROTECT(s) Rf_protect(s) | ^ /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1075:10: note: 'Rf_allocVector' declared here 1075 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ 8 errors generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:202: utils.o] Error 1 ERROR: compilation failed for package ‘NMF’ * removing ‘/srv/hornik/tmp/CRAN/NMF.Rcheck/NMF’