* installing *source* package ‘rego’ ... ** package ‘rego’ 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 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../inst/include/armadillo/include -I../inst/include/optim-master/header_only_version -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c init.c -o init.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include/armadillo/include -I../inst/include/optim-master/header_only_version -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c rego.cpp -o rego.o rego.cpp:573:7: warning: variable 's' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(univariate==0){ ^~~~~~~~~~~~~ rego.cpp:667:5: note: uninitialized use occurs here s=s-1; ^ rego.cpp:573:4: note: remove the 'if' if its condition is always true if(univariate==0){ ^~~~~~~~~~~~~~~~~ rego.cpp:508:36: note: initialize the variable 's' to silence this warning uli t, add, edge, imq, limodR, s; ^ = 0 rego.cpp:1102:14: warning: unused variable 'n_tot_mod_c' [-Wunused-variable] double n_tot_mod_c=nvars*100; ^ rego.cpp:1103:14: warning: unused variable 'C_c' [-Wunused-variable] double C_c=0.01; ^ rego.cpp:1109:14: warning: unused variable 'nc' [-Wunused-variable] uli nr,nc,nvar_max; ^ rego.cpp:1111:12: warning: unused variable 'univariate' [-Wunused-variable] bool univariate=1; ^ rego.cpp:1134:14: warning: unused variable 'log_FBF' [-Wunused-variable] double log_FBF; ^ rego.cpp:1887:6: warning: variable 'L' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(pred_only==0){ ^~~~~~~~~~~~ rego.cpp:1899:13: note: uninitialized use occurs here str_out.L=L; ^ rego.cpp:1887:3: note: remove the 'if' if its condition is always true if(pred_only==0){ ^~~~~~~~~~~~~~~~ rego.cpp:1886:11: note: initialize the variable 'L' to silence this warning double L, L_adj; ^ = 0.0 rego.cpp:1887:6: warning: variable 'L_adj' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(pred_only==0){ ^~~~~~~~~~~~ rego.cpp:1900:17: note: uninitialized use occurs here str_out.L_adj=L_adj; ^~~~~ rego.cpp:1887:3: note: remove the 'if' if its condition is always true if(pred_only==0){ ^~~~~~~~~~~~~~~~ rego.cpp:1886:18: note: initialize the variable 'L_adj' to silence this warning double L, L_adj; ^ = 0.0 In file included from rego.cpp:48: In file included from ../inst/include/armadillo/include/armadillo:611: ../inst/include/armadillo/include/armadillo_bits/auxlib_meat.hpp:3388:34: warning: unused typedef 'eT' [-Wunused-local-typedef] typedef typename T1::elem_type eT; ^ 9 warnings generated. clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o rego.so init.o rego.o -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/rego.Rcheck/00LOCK-rego/00new/rego/libs ** generating debug symbols (dSYM) ** R ** data ** inst ** 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 (rego)