* installing *source* package ‘snreg’ ...
** package ‘snreg’ 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 snsf.c -o snsf.o
snsf.c:1066:12: warning: unused variable 'su2s' [-Wunused-variable]
double su2s = sqrt(1.0 + exp(lnsu2));
^
snsf.c:1511:15: warning: variable 'value' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if ( meth[icode-1] == 6 )
^~~~~~~~~~~~~~~~~~
snsf.c:1523:12: note: uninitialized use occurs here
return value;
^~~~~
snsf.c:1511:10: note: remove the 'if' if its condition is always true
else if ( meth[icode-1] == 6 )
^~~~~~~~~~~~~~~~~~~~~~~~~
snsf.c:1331:17: note: initialize the variable 'value' to silence this warning
double value;
^
= 0.0
2 warnings generated.
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 snreg.so snsf.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/snreg.Rcheck/00LOCK-snreg/00new/snreg/libs
** generating debug symbols (dSYM)
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (snreg)