* installing *source* package ‘nltm’ ...
** this is package ‘nltm’ version ‘1.4.6’
** package ‘nltm’ 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 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c covariance.cc -o covariance.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c dmat.cc -o dmat.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c models.cc -o models.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 package_init.c -o package_init.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c printVector.cc -o printVector.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c profileLik.cc -o profileLik.o
profileLik.cc:203:6: warning: variable 'xx1' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if(*nvar1>0)
^~~~~~~~
profileLik.cc:232:13: note: uninitialized use occurs here
predictor(xx1, xx2, *nvar1, *nvar2, beta, *cure, pred);
^~~
profileLik.cc:203:3: note: remove the 'if' if its condition is always true
if(*nvar1>0)
^~~~~~~~~~~~
profileLik.cc:195:15: note: initialize the variable 'xx1' to silence this warning
double **xx1, **xx2;
^
= nullptr
profileLik.cc:205:6: warning: variable 'xx2' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if(*npred>1 && *nvar2>0)
^~~~~~~~~~~~~~~~~~~~
profileLik.cc:232:18: note: uninitialized use occurs here
predictor(xx1, xx2, *nvar1, *nvar2, beta, *cure, pred);
^~~
profileLik.cc:205:3: note: remove the 'if' if its condition is always true
if(*npred>1 && *nvar2>0)
^~~~~~~~~~~~~~~~~~~~~~~~
profileLik.cc:205:6: warning: variable 'xx2' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
if(*npred>1 && *nvar2>0)
^~~~~~~~
profileLik.cc:232:18: note: uninitialized use occurs here
predictor(xx1, xx2, *nvar1, *nvar2, beta, *cure, pred);
^~~
profileLik.cc:205:6: note: remove the '&&' if its condition is always true
if(*npred>1 && *nvar2>0)
^~~~~~~~~~~
profileLik.cc:195:22: note: initialize the variable 'xx2' to silence this warning
double **xx1, **xx2;
^
= nullptr
3 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o nltm.so covariance.o dmat.o models.o package_init.o printVector.o profileLik.o -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.5/nltm.Rcheck/00LOCK-nltm/00new/nltm/libs
** generating debug symbols (dSYM)
** R
** data
** 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 (nltm)