* installing *source* package ‘mgee2’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 19.1.2 (2)’ clang-19 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -c mgee2.c -o mgee2.o mgee2.c:66:10: warning: variable 'one_ptr' set but not used [-Wunused-but-set-variable] 66 | int *one_ptr; | ^ mgee2.c:645:27: warning: variable 'last_iter' set but not used [-Wunused-but-set-variable] 645 | int one, maxit, iter, last_iter, convergence; | ^ mgee2.c:645:38: warning: variable 'convergence' set but not used [-Wunused-but-set-variable] 645 | int one, maxit, iter, last_iter, convergence; | ^ mgee2.c:646:16: warning: variable 'n_extID' set but not used [-Wunused-but-set-variable] 646 | int nENUM, n_extID, len_Z, nrow_DM_i, nXDM_ENUM; | ^ mgee2.c:646:25: warning: variable 'len_Z' set but not used [-Wunused-but-set-variable] 646 | int nENUM, n_extID, len_Z, nrow_DM_i, nXDM_ENUM; | ^ mgee2.c:2405:29: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2405 | double *det = (double *)Calloc(2, double); // Allocate memory for 'det' using R's Calloc | ^ mgee2.c:2405:39: error: expected expression 2405 | double *det = (double *)Calloc(2, double); // Allocate memory for 'det' using R's Calloc | ^ mgee2.c:2406:44: error: expected expression 2406 | double *z = (double *)Calloc(X->nrows, double); | ^ mgee2.c:2438:5: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2438 | Free(z); Free(det); | ^ mgee2.c:2438:5: note: did you mean 'free'? /usr/include/stdlib.h:687:13: note: 'free' declared here 687 | extern void free (void *__ptr) __THROW; | ^ mgee2.c:2872:29: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2872 | double *det = (double *)Calloc(2, double); // Allocate memory for 'det' using R's Calloc | ^ mgee2.c:2872:39: error: expected expression 2872 | double *det = (double *)Calloc(2, double); // Allocate memory for 'det' using R's Calloc | ^ mgee2.c:2873:44: error: expected expression 2873 | double *z = (double *)Calloc(X->nrows, double); | ^ mgee2.c:2882:9: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2882 | Free(z); Free(det); | ^ mgee2.c:2914:5: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2914 | Free(z); Free(det); | ^ mgee2.c:3003:12: warning: variable 'elem' set but not used [-Wunused-but-set-variable] 3003 | double elem; | ^ 6 warnings and 9 errors generated. make: *** [/home/hornik/tmp/R-d-clang-19/etc/Makeconf:195: mgee2.o] Error 1 ERROR: compilation failed for package ‘mgee2’ * removing ‘/srv/hornik/tmp/CRAN_pretest/mgee2.Rcheck/mgee2’