* installing *source* package ‘CorrBin’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 18.1.8 (9)’ 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 -fpic -g -O3 -Wall -pedantic -c ReprodCalcs.c -o ReprodCalcs.o ReprodCalcs.c:288:24: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | res = (int**) Calloc(nmx, int*); | ^ ReprodCalcs.c:288:36: error: expected expression 288 | res = (int**) Calloc(nmx, int*); | ^ ReprodCalcs.c:293:44: error: expected expression 293 | res[pos] =(int*) Calloc(ntrt, int); //copy the ith row of S | ^ ReprodCalcs.c:481:28: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 481 | gamma = (double*) Calloc(nmax, double); | ^ ReprodCalcs.c:481:41: error: expected expression 481 | gamma = (double*) Calloc(nmax, double); | ^ ReprodCalcs.c:482:41: error: expected expression 482 | lower = (double*) Calloc(nmax, double); | ^ ReprodCalcs.c:483:41: error: expected expression 483 | upper = (double*) Calloc(nmax, double); | ^ ReprodCalcs.c:484:42: error: expected expression 484 | boundtype = (int*) Calloc(nmax, int); | ^ ReprodCalcs.c:505:10: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 505 | Free(gamma); | ^ ReprodCalcs.c:505:10: note: did you mean 'free'? /usr/include/stdlib.h:687:13: note: 'free' declared here 687 | extern void free (void *__ptr) __THROW; | ^ 9 errors generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:195: ReprodCalcs.o] Error 1 ERROR: compilation failed for package ‘CorrBin’ * removing ‘/srv/hornik/tmp/CRAN_pretest/CorrBin.Rcheck/CorrBin’