* installing *source* package ‘edgemodelr’ ... ** this is package ‘edgemodelr’ version ‘0.1.0’ ** using staged installation ** libs using C++ compiler: ‘Debian clang version 19.1.7 (3+b2)’ using C++17 clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DNDEBUG -DGGML_USE_CPU -Wno-array-bounds -Wno-unused-function -Wno-unused-local-typedefs -Wno-unused-variable -Wno-unused-parameter -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c bindings.cpp -o bindings.o In file included from bindings.cpp:13: In file included from ./llama/llama.h:4: ./ggml/ggml.h:351:19: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes] 351 | GGML_NORETURN GGML_ATTRIBUTE_FORMAT(3, 4) | ^ ./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT' 204 | # define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__))) | ^ ./ggml/ggml.h:828:5: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes] 828 | GGML_ATTRIBUTE_FORMAT(2, 3) | ^ ./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT' 204 | # define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__))) | ^ 2 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DNDEBUG -DGGML_USE_CPU -Wno-array-bounds -Wno-unused-function -Wno-unused-local-typedefs -Wno-unused-variable -Wno-unused-parameter -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/Rcpp.h:74: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/Rcpp/Nullable.h:108:30: error: too many arguments to function call, expected 0, have 1 108 | return Rf_isNull(m_sexp); | ~~~~~~~~~ ^~~~~~ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/Rcpp/Nullable.h:117:22: note: in instantiation of member function 'Rcpp::Nullable>::Rf_isNull' requested here 117 | return ! isNull(); | ^ /home/hornik/tmp/R/include/Rinternals.h:979:18: note: expanded from macro 'isNull' 979 | #define isNull Rf_isNull | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/Rcpp/sugar/functions/sample.h:403:15: note: in instantiation of member function 'Rcpp::Nullable>::isNotNull' requested here 403 | if (probs.isNotNull()) { | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include/Rcpp/Nullable.h:106:21: note: 'Rf_isNull' declared here 106 | inline bool isNull() const { | ^ /home/hornik/tmp/R/include/Rinternals.h:979:18: note: expanded from macro 'isNull' 979 | #define isNull Rf_isNull | ^ 1 error generated. make: *** [Makevars:41: RcppExports.o] Error 1 ERROR: compilation failed for package ‘edgemodelr’ * removing ‘/srv/hornik/tmp/CRAN_pretest/edgemodelr.Rcheck/edgemodelr’