* installing *source* package ‘gifski’ ... ** using staged installation Using /usr/bin/cargo Rustc version: rustc 1.80.1 ** libs using C compiler: ‘Debian clang version 18.1.8 (11)’ 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 -pthread -fvisibility=hidden -fpic -g -O3 -Wall -pedantic -c wrapper.c -o wrapper.o wrapper.c:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :4:9: note: previous definition is here 4 | #define STRICT_R_HEADERS 1 | ^ wrapper.c:17:1: error: unknown type name 'SEXP' 17 | SEXP R_png_to_gif(SEXP png_files, SEXP gif_file, SEXP width, SEXP height, SEXP delay, SEXP repeats, SEXP progress){ | ^ wrapper.c:17:19: error: unknown type name 'SEXP' 17 | SEXP R_png_to_gif(SEXP png_files, SEXP gif_file, SEXP width, SEXP height, SEXP delay, SEXP repeats, SEXP progress){ | ^ wrapper.c:17:35: error: unknown type name 'SEXP' 17 | SEXP R_png_to_gif(SEXP png_files, SEXP gif_file, SEXP width, SEXP height, SEXP delay, SEXP repeats, SEXP progress){ | ^ wrapper.c:17:50: error: unknown type name 'SEXP' 17 | SEXP R_png_to_gif(SEXP png_files, SEXP gif_file, SEXP width, SEXP height, SEXP delay, SEXP repeats, SEXP progress){ | ^ wrapper.c:17:62: error: unknown type name 'SEXP' 17 | SEXP R_png_to_gif(SEXP png_files, SEXP gif_file, SEXP width, SEXP height, SEXP delay, SEXP repeats, SEXP progress){ | ^ wrapper.c:17:75: error: unknown type name 'SEXP' 17 | SEXP R_png_to_gif(SEXP png_files, SEXP gif_file, SEXP width, SEXP height, SEXP delay, SEXP repeats, SEXP progress){ | ^ wrapper.c:17:87: error: unknown type name 'SEXP' 17 | SEXP R_png_to_gif(SEXP png_files, SEXP gif_file, SEXP width, SEXP height, SEXP delay, SEXP repeats, SEXP progress){ | ^ wrapper.c:17:101: error: unknown type name 'SEXP' 17 | SEXP R_png_to_gif(SEXP png_files, SEXP gif_file, SEXP width, SEXP height, SEXP delay, SEXP repeats, SEXP progress){ | ^ wrapper.c:18:7: error: call to undeclared function 'Rf_isString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | if(!Rf_isString(png_files)) | ^ wrapper.c:19:5: error: call to undeclared function 'Rf_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | Rf_error("png_files must be character vector"); | ^ wrapper.c:22:21: error: call to undeclared function 'Rf_asInteger'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | settings.height = Rf_asInteger(height); | ^ wrapper.c:32:29: error: call to undeclared function 'CHAR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | gifski_set_file_output(g, CHAR(STRING_ELT(gif_file, 0))); | ^ wrapper.c:32:34: error: call to undeclared function 'STRING_ELT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | gifski_set_file_output(g, CHAR(STRING_ELT(gif_file, 0))); | ^ wrapper.c:35:27: error: call to undeclared function 'Rf_length'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | for(uint32_t i = 0; i < Rf_length(png_files); i++){ | ^ wrapper.c:36:22: error: call to undeclared function 'Rf_asReal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | double pts = i * Rf_asReal(delay); | ^ wrapper.c:38:7: error: call to undeclared function 'REprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | REprintf("Failed to add frame %d\n", i); | ^ wrapper.c:39:8: error: call to undeclared function 'Rf_asLogical'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | if(Rf_asLogical(progress)) | ^ wrapper.c:44:6: error: call to undeclared function 'Rf_asLogical'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | if(Rf_asLogical(progress)) | ^ wrapper.c:45:5: error: call to undeclared function 'REprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | REprintf("\nEncoding to gif..."); | ^ 1 warning and 19 errors generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:195: wrapper.o] Error 1 ERROR: compilation failed for package ‘gifski’ * removing ‘/srv/hornik/tmp/CRAN_pretest/gifski.Rcheck/gifski’