* installing *source* package ‘rcxl’ ...
** this is package ‘rcxl’ version ‘0.1.0’
** package ‘rcxl’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.1.sdk’
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -Ilibdeflate -DMINIZ_NO_ARCHIVE_WRITING_APIS -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -Ilibdeflate -DMINIZ_NO_ARCHIVE_WRITING_APIS -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c miniz.c -o miniz.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -Ilibdeflate -DMINIZ_NO_ARCHIVE_WRITING_APIS -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c read_xlsx.c -o read_xlsx.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -Ilibdeflate -DMINIZ_NO_ARCHIVE_WRITING_APIS -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libdeflate/lib/deflate_decompress.c -o libdeflate/lib/deflate_decompress.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -Ilibdeflate -DMINIZ_NO_ARCHIVE_WRITING_APIS -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libdeflate/lib/utils.c -o libdeflate/lib/utils.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -Ilibdeflate -DMINIZ_NO_ARCHIVE_WRITING_APIS -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libdeflate/lib/x86/cpu_features.c -o libdeflate/lib/x86/cpu_features.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -pthread -Ilibdeflate -DMINIZ_NO_ARCHIVE_WRITING_APIS -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libdeflate/lib/arm/cpu_features.c -o libdeflate/lib/arm/cpu_features.o
read_xlsx.c:463:12: error: static declaration of 'zopen' follows non-static declaration
static int zopen(zipsrc_t *z, const char *path)
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/stdio.h:378:7: note: previous declaration is here
FILE    *zopen(const char *, const char *, int);
         ^
read_xlsx.c:860:29: error: too few arguments to function call, expected 3, have 2
    if (!zopen(&w->za, cpath))
         ~~~~~              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/stdio.h:378:7: note: 'zopen' declared here
FILE    *zopen(const char *, const char *, int);
         ^
read_xlsx.c:2552:26: error: too few arguments to function call, expected 3, have 2
    if (!zopen(&za, cpath))
         ~~~~~           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/stdio.h:378:7: note: 'zopen' declared here
FILE    *zopen(const char *, const char *, int);
         ^
3 errors generated.
make: *** [read_xlsx.o] Error 1
make: *** Waiting for unfinished jobs....
miniz.c:3397:31: warning: unused function 'mz_zip_array_ensure_room' [-Wunused-function]
static MZ_FORCEINLINE mz_bool mz_zip_array_ensure_room(mz_zip_archive *pZip, mz_zip_array *pArray, size_t n)
                              ^
miniz.c:3402:31: warning: unused function 'mz_zip_array_push_back' [-Wunused-function]
static MZ_FORCEINLINE mz_bool mz_zip_array_push_back(mz_zip_archive *pZip, mz_zip_array *pArray, const void *pElements, size_t n)
                              ^
2 warnings generated.
ERROR: compilation failed for package ‘rcxl’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/rcxl.Rcheck/rcxl’