* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘CARBayesST’ ...
** this is package ‘CARBayesST’ version ‘4.0’
** package ‘CARBayesST’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpIAHCDk/R.INSTALL29d1e15744dd74/CARBayesST/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c CARBayesST.cpp -o CARBayesST.o
CARBayesST.cpp: In function ‘Rcpp::List SPTICARphiVarb(Rcpp::NumericMatrix, int, int, Rcpp::NumericVector, Rcpp::NumericVector, double, Rcpp::NumericVector, Rcpp::NumericVector, double, double, Rcpp::NumericVector)’:
CARBayesST.cpp:4525:41: warning: ‘priormean’ may be used uninitialized [-Wmaybe-uninitialized]
4525 | newpriorbit = (0.5/priorvar) * pow(propphiVarb - priormean, 2);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
CARBayesST.cpp:4473:25: note: ‘priormean’ was declared here
4473 | double priorvardenom, priormean;
| ^~~~~~~~~
CARBayesST.cpp:4524:26: warning: ‘priorvar’ may be used uninitialized [-Wmaybe-uninitialized]
4524 | propphiVarb = rnorm(1, phiVarb[n], sqrt(priorvar*phiVarb_tune))[0];
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CARBayesST.cpp:4474:10: note: ‘priorvar’ was declared here
4474 | double priorvar;
| ^~~~~~~~
CARBayesST.cpp: In function ‘Rcpp::List SPTICARphiBinomial(Rcpp::NumericMatrix, int, int, Rcpp::NumericVector, Rcpp::NumericVector, double, Rcpp::NumericVector, double, Rcpp::NumericVector, double, Rcpp::NumericVector)’:
CARBayesST.cpp:4431:101: warning: ‘priormean’ may be used uninitialized [-Wmaybe-uninitialized]
4431 | l_prob_old = -y[n]*log(theta) + (trials[n] - y[n])*log(1 - (1/theta)) - (0.5/priorvar) * pow(phiVarb[n] - priormean, 2);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
CARBayesST.cpp:4377:10: note: ‘priormean’ was declared here
4377 | double priormean;
| ^~~~~~~~~
CARBayesST.cpp:4428:27: warning: ‘priorvar’ may be used uninitialized [-Wmaybe-uninitialized]
4428 | phi_new = rnorm(1, phiVarb[n], sqrt(priorvar*phiVarb_tune))[0];
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CARBayesST.cpp:4378:10: note: ‘priorvar’ was declared here
4378 | double priorvar;
| ^~~~~~~~
CARBayesST.cpp: In function ‘Rcpp::List SPTICARphiGaussian(Rcpp::NumericMatrix, int, int, Rcpp::NumericVector, Rcpp::NumericVector, double, double, Rcpp::NumericVector, double, Rcpp::NumericVector)’:
CARBayesST.cpp:4181:32: warning: ‘priormean’ may be used uninitialized [-Wmaybe-uninitialized]
4181 | meanFullCon = ((priormean/priorvar) + (y[n] - XB[n])/lik_var)*varFullCon;
| ~~~~~~~~~~^~~~~~~~~~
CARBayesST.cpp:4132:10: note: ‘priormean’ was declared here
4132 | double priormean;
| ^~~~~~~~~
CARBayesST.cpp:4181:32: warning: ‘priorvar’ may be used uninitialized [-Wmaybe-uninitialized]
4181 | meanFullCon = ((priormean/priorvar) + (y[n] - XB[n])/lik_var)*varFullCon;
| ~~~~~~~~~~^~~~~~~~~~
CARBayesST.cpp:4133:10: note: ‘priorvar’ was declared here
4133 | double priorvar;
| ^~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o CARBayesST.so CARBayesST.o RcppExports.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpIAHCDk/R.INSTALL29d1e15744dd74/CARBayesST/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpIAHCDk/R.INSTALL29d1e15744dd74/CARBayesST/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpIAHCDk/R.INSTALL29d1e15744dd74/CARBayesST/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-CARBayesST/00new/CARBayesST/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘CARBayesST’
finding HTML links ... done
CARBayesST-package html
MVST.CARar html
ST.CARadaptive html
ST.CARanova html
ST.CARar html
ST.CARclustrends html
ST.CARlinear html
ST.CARlocalised html
ST.CARsepspatial html
W.estimate html
coef.CARBayesST html
fitted.CARBayesST html
logLik.CARBayesST html
model.matrix.CARBayesST html
print.CARBayesST html
residuals.CARBayesST html
** 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 (CARBayesST)