* installing *source* package ‘BAREB’ ...
** package ‘BAREB’ 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 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c update.cpp -o update.o
update.cpp:1023:13: warning: variable 'value' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  else if ( order == 10 )
            ^~~~~~~~~~~
update.cpp:1029:10: note: uninitialized use occurs here
  return value;
         ^~~~~
update.cpp:1023:8: note: remove the 'if' if its condition is always true
  else if ( order == 10 )
       ^~~~~~~~~~~~~~~~~~
update.cpp:981:15: note: initialize the variable 'value' to silence this warning
  double value;
              ^
               = 0.0
update.cpp:1122:13: warning: variable 'value' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  else if ( order == 8 )
            ^~~~~~~~~~
update.cpp:1130:10: note: uninitialized use occurs here
  return value;
         ^~~~~
update.cpp:1122:8: note: remove the 'if' if its condition is always true
  else if ( order == 8 )
       ^~~~~~~~~~~~~~~~~
update.cpp:1082:15: note: initialize the variable 'value' to silence this warning
  double value;
              ^
               = 0.0
update.cpp:4556:7: warning: unused variable 'size' [-Wunused-variable]
  int size=A.n_cols;
      ^
update.cpp:6457:10: warning: variable 'mu_s' set but not used [-Wunused-but-set-variable]
  double mu_s,  likeli;
         ^
4 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 BAREB.so RcppExports.o update.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.4/BAREB.Rcheck/00LOCK-BAREB/00new/BAREB/libs
** generating debug symbols (dSYM)
** R
** data
*** moving datasets to lazyload DB
** 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 (BAREB)