* installing *source* package ‘spc’ ... ** package ‘spc’ 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.sdk’ clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c allspc.c -o allspc.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ccusum_arl_be.c -o ccusum_arl_be.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ccusum_crit_be.c -o ccusum_crit_be.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cewma_ad_be.c -o cewma_ad_be.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cewma_arl_be.c -o cewma_arl_be.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cewma_crit_be.c -o cewma_crit_be.o cewma_crit_be.c:54:13: warning: variable 'lgL' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if ( *mcdesign==transfer ) result = cewma_2_crit_unb_rando_new(*lambda, *L0, *mu0, *z0, *N, *jmax, &lAL, &lAU, &lgL, &lgU); ^~~~~~~~~~~~~~~~~~~ cewma_crit_be.c:57:16: note: uninitialized use occurs here AA[2] = lgL; ^~~ cewma_crit_be.c:54:8: note: remove the 'if' if its condition is always true if ( *mcdesign==transfer ) result = cewma_2_crit_unb_rando_new(*lambda, *L0, *mu0, *z0, *N, *jmax, &lAL, &lAU, &lgL, &lgU); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cewma_crit_be.c:30:23: note: initialize the variable 'lgL' to silence this warning double lAL, lAU, lgL, lgU; ^ = 0.0 cewma_crit_be.c:54:13: warning: variable 'lgU' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if ( *mcdesign==transfer ) result = cewma_2_crit_unb_rando_new(*lambda, *L0, *mu0, *z0, *N, *jmax, &lAL, &lAU, &lgL, &lgU); ^~~~~~~~~~~~~~~~~~~ cewma_crit_be.c:58:16: note: uninitialized use occurs here AA[3] = lgU; ^~~ cewma_crit_be.c:54:8: note: remove the 'if' if its condition is always true if ( *mcdesign==transfer ) result = cewma_2_crit_unb_rando_new(*lambda, *L0, *mu0, *z0, *N, *jmax, &lAL, &lAU, &lgL, &lgU); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cewma_crit_be.c:30:28: note: initialize the variable 'lgU' to silence this warning double lAL, lAU, lgL, lgU; ^ = 0.0 clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c euklid_ewma_arl.c -o euklid_ewma_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ewma_p_arl_be.c -o ewma_p_arl_be.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ewma_phat_arl_coll.c -o ewma_phat_arl_coll.o 2 warnings generated. clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ewma_phat_crit_coll.c -o ewma_phat_crit_coll.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ewma_phat_lambda_coll.c -o ewma_phat_lambda_coll.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c imr_arl.c -o imr_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c lns2ewma_arl.c -o lns2ewma_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c lns2ewma_crit.c -o lns2ewma_crit.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c mewma_ad.c -o mewma_ad.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c mewma_arl.c -o mewma_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c mewma_arl_f.c -o mewma_arl_f.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c mewma_crit.c -o mewma_crit.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c mewma_psi.c -o mewma_psi.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c phat_cdf.c -o phat_cdf.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c phat_pdf.c -o phat_pdf.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c phat_qf.c -o phat_qf.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c quadrature_nodes_weights.c -o quadrature_nodes_weights.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c scusum_arl.c -o scusum_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c scusum_crit.c -o scusum_crit.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c scusum_s_arl.c -o scusum_s_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sewma_arl.c -o sewma_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sewma_arl_prerun.c -o sewma_arl_prerun.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sewma_crit.c -o sewma_crit.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sewma_crit_prerun.c -o sewma_crit_prerun.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sewma_q.c -o sewma_q.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sewma_q_crit.c -o sewma_q_crit.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sewma_q_crit_prerun.c -o sewma_q_crit_prerun.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sewma_q_prerun.c -o sewma_q_prerun.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sewma_res_arl.c -o sewma_res_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sewma_sf.c -o sewma_sf.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sewma_sf_prerun.c -o sewma_sf_prerun.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c spc_init.c -o spc_init.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c tewma_arl_wowR.c -o tewma_arl_wowR.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c tol_lim_fac.c -o tol_lim_fac.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c tshewhart_ar1_arl.c -o tshewhart_ar1_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xDcusum_arl.c -o xDcusum_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xDewma_arl.c -o xDewma_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xDgrsr_arl.c -o xDgrsr_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xcusum_ad.c -o xcusum_ad.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xcusum_arl.c -o xcusum_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xcusum_crit.c -o xcusum_crit.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xcusum_q.c -o xcusum_q.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xcusum_sf.c -o xcusum_sf.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xewma_ad.c -o xewma_ad.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xewma_arl.c -o xewma_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xewma_arl_f.c -o xewma_arl_f.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xewma_arl_prerun.c -o xewma_arl_prerun.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xewma_crit.c -o xewma_crit.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xewma_q.c -o xewma_q.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xewma_q_prerun.c -o xewma_q_prerun.o xewma_crit.c:15:10: warning: variable 'n' set but not used [-Wunused-but-set-variable] { int i, n; ^ 1 warning generated. clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xewma_res_arl.c -o xewma_res_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xewma_sf.c -o xewma_sf.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xewma_sf_prerun.c -o xewma_sf_prerun.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xgrsr_ad.c -o xgrsr_ad.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xgrsr_arl.c -o xgrsr_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xgrsr_crit.c -o xgrsr_crit.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xsewma_arl.c -o xsewma_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xsewma_crit.c -o xsewma_crit.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xsewma_q.c -o xsewma_q.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xsewma_q_crit.c -o xsewma_q_crit.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xsewma_res_arl.c -o xsewma_res_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xsewma_res_pms.c -o xsewma_res_pms.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xsewma_sf.c -o xsewma_sf.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xshewhart_ar1_arl.c -o xshewhart_ar1_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xtcusum_arl.c -o xtcusum_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xtewma_ad.c -o xtewma_ad.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xtewma_arl.c -o xtewma_arl.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xtewma_q.c -o xtewma_q.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c xtewma_sf.c -o xtewma_sf.o clang -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o spc.so allspc.o ccusum_arl_be.o ccusum_crit_be.o cewma_ad_be.o cewma_arl_be.o cewma_crit_be.o euklid_ewma_arl.o ewma_p_arl_be.o ewma_phat_arl_coll.o ewma_phat_crit_coll.o ewma_phat_lambda_coll.o imr_arl.o lns2ewma_arl.o lns2ewma_crit.o mewma_ad.o mewma_arl.o mewma_arl_f.o mewma_crit.o mewma_psi.o phat_cdf.o phat_pdf.o phat_qf.o quadrature_nodes_weights.o scusum_arl.o scusum_crit.o scusum_s_arl.o sewma_arl.o sewma_arl_prerun.o sewma_crit.o sewma_crit_prerun.o sewma_q.o sewma_q_crit.o sewma_q_crit_prerun.o sewma_q_prerun.o sewma_res_arl.o sewma_sf.o sewma_sf_prerun.o spc_init.o tewma_arl_wowR.o tol_lim_fac.o tshewhart_ar1_arl.o xDcusum_arl.o xDewma_arl.o xDgrsr_arl.o xcusum_ad.o xcusum_arl.o xcusum_crit.o xcusum_q.o xcusum_sf.o xewma_ad.o xewma_arl.o xewma_arl_f.o xewma_arl_prerun.o xewma_crit.o xewma_q.o xewma_q_prerun.o xewma_res_arl.o xewma_sf.o xewma_sf_prerun.o xgrsr_ad.o xgrsr_arl.o xgrsr_crit.o xsewma_arl.o xsewma_crit.o xsewma_q.o xsewma_q_crit.o xsewma_res_arl.o xsewma_res_pms.o xsewma_sf.o xshewhart_ar1_arl.o xtcusum_arl.o xtewma_ad.o xtewma_arl.o xtewma_q.o xtewma_sf.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.3/spc.Rcheck/00LOCK-spc/00new/spc/libs ** generating debug symbols (dSYM) ** R ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** 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 (spc)