############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data puma ### ############################################################################## ############################################################################## * checking for file ‘puma/DESCRIPTION’ ... OK * preparing ‘puma’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘puma’ ... ** this is package ‘puma’ version ‘3.49.0’ ** using staged installation ** libs using C compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using SDK: ‘MacOSX11.3.sdk’ clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c PMmultimgmos.c -o PMmultimgmos.o PMmultimgmos.c:138:39: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (in_param.parameters[j] != NULL) Free(in_param.parameters[j]); ^ PMmultimgmos.c:138:39: note: did you mean 'free'? /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/malloc/_malloc.h:42:7: note: 'free' declared here void free(void *); ^ PMmultimgmos.c:152:6: warning: variable 'niter' set but not used [-Wunused-but-set-variable] int niter = 1; ^ 1 warning and 1 error generated. make: *** [PMmultimgmos.o] Error 1 ERROR: compilation failed for package ‘puma’ * removing ‘/private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/RtmpkUY2dy/Rinst5a5d458813e1/puma’ ----------------------------------- ERROR: package installation failed