* installing *source* package ‘rgenoud’ ... ** package ‘rgenoud’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c change_order.cpp -o change_order.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c eval.cpp -o eval.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c evaluate.cpp -o evaluate.o evaluate.cpp:4056:8: warning: variable 'nvars' set but not used [-Wunused-but-set-variable] long nvars; ^ evaluate.cpp:4093:8: warning: variable 'nvars' set but not used [-Wunused-but-set-variable] long nvars; ^ 2 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c frange_ran.cpp -o frange_ran.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c genoud.cpp -o genoud.o genoud.cpp:66:8: warning: variable 'LVMreturn' set but not used [-Wunused-but-set-variable] long LVMreturn; ^ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c gradient.cpp -o gradient.o gradient.cpp:208:10: warning: variable 'u' set but not used [-Wunused-but-set-variable] double u, fplus, fminus; ^ gradient.cpp:209:10: warning: variable 'epsuse' set but not used [-Wunused-but-set-variable] double epsuse; ^ gradient.cpp:405:3: warning: unused label 'FD1' [-Wunused-label] FD1: ^~~~ gradient.cpp:420:3: warning: unused label 'FD3' [-Wunused-label] FD3: ^~~~ gradient.cpp:413:3: warning: unused label 'FD2' [-Wunused-label] FD2: ^~~~ 5 warnings generated. clang -arch arm64 -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=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c math.cpp -o math.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c multiply.cpp -o multiply.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c numerics.cpp -o numerics.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c operators.cpp -o operators.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c print_format.cpp -o print_format.o print_format.cpp:34:19: warning: variable 'fint' set but not used [-Wunused-but-set-variable] int i, j, ltmp, fint; ^ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c rgenoud.cpp -o rgenoud.o rgenoud.cpp:143:9: warning: variable 'StartingValues' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (nStartingValues > 0) { ^~~~~~~~~~~~~~~~~~~ rgenoud.cpp:167:35: note: uninitialized use occurs here MainStructure->StartingValues=StartingValues; ^~~~~~~~~~~~~~ rgenoud.cpp:143:5: note: remove the 'if' if its condition is always true if (nStartingValues > 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~ rgenoud.cpp:140:28: note: initialize the variable 'StartingValues' to silence this warning double **StartingValues; ^ = nullptr 1 warning generated. clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o rgenoud.so change_order.o eval.o evaluate.o frange_ran.o genoud.o gradient.o init.o math.o multiply.o numerics.o operators.o print_format.o rgenoud.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/rgenoud.Rcheck/00LOCK-rgenoud/00new/rgenoud/libs ** generating debug symbols (dSYM) ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (rgenoud)