Warning: package ‘graphics’ in options("defaultPackages") was not found Warning: package ‘stats’ in options("defaultPackages") was not found * installing *source* package ‘mokken’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 18.1.5 (2)’ 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/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:30: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 26 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ 1 warning generated. 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/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c geneticAlgorithm.cpp -o geneticAlgorithm.o In file included from geneticAlgorithm.cpp:32: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:30: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 26 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-18/lib -Wl,-O1 -o mokken.so RcppExports.o geneticAlgorithm.o -llapack -L/home/hornik/tmp/R-d-clang-18/lib -lRblas -L/usr/lib/llvm-18/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R-d-clang-18/lib -lR During startup - Warning messages: 1: package ‘graphics’ in options("defaultPackages") was not found 2: package ‘stats’ in options("defaultPackages") was not found installing to /srv/hornik/tmp/CRAN/mokken.Rcheck/00LOCK-mokken/00new/mokken/libs ** R ** data ** inst ** byte-compile and prepare package for lazy loading During startup - Warning messages: 1: package ‘graphics’ in options("defaultPackages") was not found 2: package ‘stats’ in options("defaultPackages") was not found Error: package or namespace load failed for ‘graphics’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/srv/hornik/tmp/R-d-clang-18/library/graphics/libs/graphics.so': /srv/hornik/tmp/R-d-clang-18/library/graphics/libs/graphics.so: undefined symbol: LENGTH_EX Execution halted ERROR: lazy loading failed for package ‘mokken’ * removing ‘/srv/hornik/tmp/CRAN/mokken.Rcheck/mokken’