* installing *source* package ‘graphlayouts’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 18.1.8 (11)’ clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -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 Graph.cpp -o Graph.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -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 QuadCensus.cpp -o QuadCensus.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -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 RcppExports.cpp -o RcppExports.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -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 constrained_stress.cpp -o constrained_stress.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -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 constrained_stress3D.cpp -o constrained_stress3D.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -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 init.cpp -o init.o init.cpp:15:22: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 15 | SEXP rvec = PROTECT(allocVector(REALSXP, len)); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:388:31: note: expanded from macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1078:10: note: 'Rf_allocVector' declared here 1078 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ init.cpp:17:21: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 17 | SEXP dim = PROTECT(allocVector(INTSXP, 2)); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:388:31: note: expanded from macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1078:10: note: 'Rf_allocVector' declared here 1078 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ init.cpp:20:2: error: use of undeclared identifier 'setAttrib'; did you mean 'Rf_setAttrib'? 20 | setAttrib(rvec, R_DimSymbol, dim); | ^~~~~~~~~ | Rf_setAttrib /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:580:6: note: 'Rf_setAttrib' declared here 580 | SEXP Rf_setAttrib(SEXP, SEXP, SEXP); | ^ init.cpp:77:34: error: use of undeclared identifier 'mkChar' 77 | SET_STRING_ELT(a_names, sIndex, mkChar(("n_orbits_" + rType).c_str())); | ^ init.cpp:81:34: error: use of undeclared identifier 'mkChar' 81 | SET_STRING_ELT(a_names, sIndex, mkChar(("e_orbits_" + rType).c_str())); | ^ init.cpp:89:25: error: use of undeclared identifier 'length' 89 | const unsigned int m = length(a_edges) / 2; | ^ init.cpp:102:23: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 102 | SEXP value = PROTECT(allocVector(VECSXP, res_size)); // VECSXP == list | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:388:31: note: expanded from macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1078:10: note: 'Rf_allocVector' declared here 1078 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ init.cpp:103:23: error: use of undeclared identifier 'allocVector'; did you mean 'Rf_allocVector'? 103 | SEXP names = PROTECT(allocVector(STRSXP, res_size)); | ^~~~~~~~~~~ | Rf_allocVector /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:388:31: note: expanded from macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:1078:10: note: 'Rf_allocVector' declared here 1078 | SEXP Rf_allocVector(SEXPTYPE, R_xlen_t); | ^ init.cpp:115:2: error: use of undeclared identifier 'setAttrib'; did you mean 'Rf_setAttrib'? 115 | setAttrib(value, R_NamesSymbol, names); | ^~~~~~~~~ | Rf_setAttrib /home/hornik/tmp/R-d-clang-18/include/Rinternals.h:580:6: note: 'Rf_setAttrib' declared here 580 | SEXP Rf_setAttrib(SEXP, SEXP, SEXP); | ^ 9 errors generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:202: init.o] Error 1 ERROR: compilation failed for package ‘graphlayouts’ * removing ‘/srv/hornik/tmp/CRAN_pretest/graphlayouts.Rcheck/graphlayouts’