* installing *source* package ‘lazy’ ...
** this is package ‘lazy’ version ‘1.2-18’
** package ‘lazy’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using SDK: ‘MacOSX14.5.sdk’
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c init.c -o init.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c lazy.c -o lazy.o
lazy.c:859:32: error: read-only variable is not assignable
859 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("h");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
lazy.c:862:38: error: read-only variable is not assignable
862 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("t");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
lazy.c:865:38: error: read-only variable is not assignable
865 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("k");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
lazy.c:872:40: error: read-only variable is not assignable
872 | CHARACTER_POINTER(S_names)[j]=CREATE_STRING_VECTOR(name[j]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
lazy.c:875:36: error: read-only variable is not assignable
875 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("S");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
lazy.c:883:38: error: read-only variable is not assignable
883 | CHARACTER_POINTER(T_names)[j]=CREATE_STRING_VECTOR(name[j]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
lazy.c:886:36: error: read-only variable is not assignable
886 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("T");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
lazy.c:890:36: error: read-only variable is not assignable
890 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("I");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
8 errors generated.
make: *** [lazy.o] Error 1
ERROR: compilation failed for package ‘lazy’
* removing ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/lazy.Rcheck/lazy’