* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘BAS’ ...
** this is package ‘BAS’ version ‘2.0.0’
** package ‘BAS’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-15 (Debian 15.2.0-11) 15.2.0’
using Fortran compiler: ‘GNU Fortran (Debian 15.2.0-11) 15.2.0’
make[1]: Entering directory '/tmp/RtmpidkWjv/R.INSTALL597ea74db7c2f/BAS/src'
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c E_ZS.c -o E_ZS.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c MH-funs.c -o MH-funs.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c ZS_approx_full_np.c -o ZS_approx_full_np.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c ZS_approx_null_np.c -o ZS_approx_null_np.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c amcmc-funs.c -o amcmc-funs.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c bayesglm.c -o bayesglm.o
bayesglm.c: In function ‘glm_fit’:
bayesglm.c:62:17: warning: variable ‘betapriorfamily’ set but not used [-Wunused-but-set-variable]
   62 |   betapriorptr *betapriorfamily;
      |                 ^~~~~~~~~~~~~~~
bayesglm.c:178:17: warning: ‘disp’ may be used uninitialized [-Wmaybe-uninitialized]
  178 |         se[j] = sqrt(se[j]*disp);
      |                 ^~~~~~~~~~~~~~~~
bayesglm.c:54:10: note: ‘disp’ was declared here
   54 |   double disp;
      |          ^~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c bayesreg.c -o bayesreg.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c betapriorfamily.c -o betapriorfamily.o
betapriorfamily.c: In function ‘intrinsic_glm_shrinkage’:
betapriorfamily.c:239:38: warning: unused variable ‘u’ [-Wunused-variable]
  239 |   double a, b, s, r, v, theta, n, p, u, shrinkage;
      |                                      ^
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c cch.c -o cch.o
gfortran-15  -fpic  -g -O2 -Wall -pedantic -mtune=native  -c dch1up.f -o dch1up.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c family.c -o family.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c glm_deterministic.c -o glm_deterministic.o
glm_deterministic.c: In function ‘glm_deterministic’:
glm_deterministic.c:55:35: warning: unused variable ‘logmargy’ [-Wunused-variable]
   55 |         double *probs,shrinkage_m,logmargy;
      |                                   ^~~~~~~~
glm_deterministic.c:55:23: warning: unused variable ‘shrinkage_m’ [-Wunused-variable]
   55 |         double *probs,shrinkage_m,logmargy;
      |                       ^~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c glm_fit.c -o glm_fit.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c glm_mcmc.c -o glm_mcmc.o
glm_mcmc.c: In function ‘glm_mcmc’:
glm_mcmc.c:17:39: warning: variable ‘shrinkage_m’ set but not used [-Wunused-but-set-variable]
   17 |   double *probs, MH=0.0, prior_m=1.0, shrinkage_m, logmargy, postold, postnew;
      |                                       ^~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c glm_mcmc_grow.c -o glm_mcmc_grow.o
glm_mcmc_grow.c: In function ‘glm_mcmc_grow’:
glm_mcmc_grow.c:108:45: warning: variable ‘shrinkage_m’ set but not used [-Wunused-but-set-variable]
  108 |         double *probs, MH=0.0, prior_m=1.0, shrinkage_m, logmarg_m, postold, postnew;
      |                                             ^~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c glm_mcmcbas.c -o glm_mcmcbas.o
glm_mcmcbas.c: In function ‘glm_mcmcbas’:
glm_mcmcbas.c:46:44: warning: variable ‘shrinkage_m’ set but not used [-Wunused-but-set-variable]
   46 |         double *probs, MH=0.0, prior_m=1.0,shrinkage_m, logmargy, postold, postnew;
      |                                            ^~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c glm_sampleworep.c -o glm_sampleworep.o
glm_sampleworep.c: In function ‘glm_sampleworep’:
glm_sampleworep.c:109:33: warning: variable ‘shrinkage_m’ set but not used [-Wunused-but-set-variable]
  109 |         double *probs,logmargy, shrinkage_m;
      |                                 ^~~~~~~~~~~
glm_sampleworep.c:109:23: warning: variable ‘logmargy’ set but not used [-Wunused-but-set-variable]
  109 |         double *probs,logmargy, shrinkage_m;
      |                       ^~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c glm_sampleworep_grow.c -o glm_sampleworep_grow.o
glm_sampleworep_grow.c: In function ‘glm_sampleworep_grow’:
glm_sampleworep_grow.c:90:33: warning: variable ‘shrinkage_m’ set but not used [-Wunused-but-set-variable]
   90 |         double *probs,logmargy, shrinkage_m;
      |                                 ^~~~~~~~~~~
glm_sampleworep_grow.c:90:23: warning: variable ‘logmargy’ set but not used [-Wunused-but-set-variable]
   90 |         double *probs,logmargy, shrinkage_m;
      |                       ^~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c hg_approx_null_np.c -o hg_approx_null_np.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c hyp1F1.c -o hyp1F1.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c hyp2f1.c -o hyp2f1.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c hypergeometric1F1.c -o hypergeometric1F1.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c hypergeometric2F1.c -o hypergeometric2F1.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c init.c -o init.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c lm_amcmc.c -o lm_amcmc.o
lm_amcmc.c: In function ‘amcmc’:
lm_amcmc.c:337:35: warning: ‘new_loc’ may be used uninitialized [-Wmaybe-uninitialized]
  337 |                   INTEGER(Rcounts)[old_loc] += 1;
      |                   ~~~~~~~~~~~~~~~~^~~~~~~~~
lm_amcmc.c:240:13: note: ‘new_loc’ was declared here
  240 |         int new_loc;
      |             ^~~~~~~
lm_amcmc.c:434:34: warning: ‘postold’ may be used uninitialized [-Wmaybe-uninitialized]
  434 |       if (!IS) MH =  exp(postnew - postold + log(pigammaold) - log(pigammanew));
      |                          ~~~~~~~~^~~~~~~~~
lm_amcmc.c:124:47: note: ‘postold’ was declared here
  124 |                 R2_m, RSquareFull, logmarg_m, postold, postnew;
      |                                               ^~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c lm_amcmc_growable.c -o lm_amcmc_growable.o
lm_amcmc_growable.c: In function ‘amcmc_grow’:
lm_amcmc_growable.c:321:35: warning: ‘new_loc’ may be used uninitialized [-Wmaybe-uninitialized]
  321 |                   INTEGER(Rcounts)[old_loc] += 1;
      |                   ~~~~~~~~~~~~~~~~^~~~~~~~~
lm_amcmc_growable.c:224:13: note: ‘new_loc’ was declared here
  224 |         int new_loc;
      |             ^~~~~~~
lm_amcmc_growable.c:464:34: warning: ‘postold’ may be used uninitialized [-Wmaybe-uninitialized]
  464 |       if (!IS) MH =  exp(postnew - postold + log(pigammaold) - log(pigammanew));
      |                          ~~~~~~~~^~~~~~~~~
lm_amcmc_growable.c:110:47: note: ‘postold’ was declared here
  110 |                 R2_m, RSquareFull, logmarg_m, postold, postnew;
      |                                               ^~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c lm_deterministic.c -o lm_deterministic.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c lm_mcmc.c -o lm_mcmc.o
lm_mcmc.c: In function ‘mcmc’:
lm_mcmc.c:127:13: warning: unused variable ‘k’ [-Wunused-variable]
  127 |         int k = LENGTH(modelprobs);
      |             ^
lm_mcmc.c:302:35: warning: ‘new_loc’ may be used uninitialized [-Wmaybe-uninitialized]
  302 |                   INTEGER(Rcounts)[old_loc] += 1;
      |                   ~~~~~~~~~~~~~~~~^~~~~~~~~
lm_mcmc.c:206:13: note: ‘new_loc’ was declared here
  206 |         int new_loc;
      |             ^~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c lm_mcmc_grow.c -o lm_mcmc_grow.o
lm_mcmc_grow.c: In function ‘mcmc_grow’:
lm_mcmc_grow.c:296:35: warning: ‘new_loc’ may be used uninitialized [-Wmaybe-uninitialized]
  296 |                   INTEGER(Rcounts)[old_loc] += 1;
      |                   ~~~~~~~~~~~~~~~~^~~~~~~~~
lm_mcmc_grow.c:201:13: note: ‘new_loc’ was declared here
  201 |         int new_loc;
      |             ^~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c lm_mcmcbas.c -o lm_mcmcbas.o
lm_mcmcbas.c: In function ‘mcmcbas’:
lm_mcmcbas.c:285:22: warning: ‘new_loc’ may be used uninitialized [-Wmaybe-uninitialized]
  285 |       INTEGER(counts)[old_loc] += 1;
      |       ~~~~~~~~~~~~~~~^~~~~~~~~
lm_mcmcbas.c:182:9: note: ‘new_loc’ was declared here
  182 |     int new_loc;
      |         ^~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c lm_sampleworep-grow.c -o lm_sampleworep-grow.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c lm_sampleworep.c -o lm_sampleworep.o
lm_sampleworep.c: In function ‘sampleworep_new’:
lm_sampleworep.c:36:13: warning: unused variable ‘nModels’ [-Wunused-variable]
   36 |         int nModels=LENGTH(Rmodeldim);
      |             ^~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c mem.c -o mem.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c model_probabilities.c -o model_probabilities.o
model_probabilities.c: In function ‘compute_margprobs_Bayes_BAS_MCMC’:
model_probabilities.c:129:17: warning: unused variable ‘probNotInS’ [-Wunused-variable]
  129 |   double *beta, probNotInS = 1.0;
      |                 ^~~~~~~~~~
In file included from bas.h:23,
                 from model_probabilities.c:6:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/Rmath.h:221:25: warning: unused variable ‘Rf_beta’ [-Wunused-variable]
  221 | #define beta            Rf_beta
      |                         ^~~~~~~
model_probabilities.c:129:11: note: in expansion of macro ‘beta’
  129 |   double *beta, probNotInS = 1.0;
      |           ^~~~
model_probabilities.c:127:22: warning: unused variable ‘n’ [-Wunused-variable]
  127 |   int m, j, *model, *n;
      |                      ^
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c mtherr.c -o mtherr.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c resizeVectors.c -o resizeVectors.o
resizeVectors.c: In function ‘resizeVector’:
resizeVectors.c:78:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   78 |   for (i = 0; i < len_new; i++)
      |   ^~~
resizeVectors.c:86:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   86 |     break;
      |     ^~~~~
resizeVectors.c:88:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   88 |   for (i = 0; i < len_new; i++)
      |   ^~~
resizeVectors.c:94:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   94 |     break;
      |     ^~~~~
resizeVectors.c:102:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  102 |   for (i = 0; i < len_new; i++)
      |   ^~~
resizeVectors.c:106:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  106 |     break;
      |     ^~~~~
resizeVectors.c:108:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  108 |   for (i = 0; i < len_new; i++)
      |   ^~~
resizeVectors.c:114:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  114 |     break;
      |     ^~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c tree_structures.c -o tree_structures.o
gcc-15 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o BAS.so E_ZS.o MH-funs.o ZS_approx_full_np.o ZS_approx_null_np.o amcmc-funs.o bayesglm.o bayesreg.o betapriorfamily.o cch.o dch1up.o family.o glm_deterministic.o glm_fit.o glm_mcmc.o glm_mcmc_grow.o glm_mcmcbas.o glm_sampleworep.o glm_sampleworep_grow.o hg_approx_null_np.o hyp1F1.o hyp2f1.o hypergeometric1F1.o hypergeometric2F1.o init.o lm_amcmc.o lm_amcmc_growable.o lm_deterministic.o lm_mcmc.o lm_mcmc_grow.o lm_mcmcbas.o lm_sampleworep-grow.o lm_sampleworep.o mem.o model_probabilities.o mtherr.o resizeVectors.o tree_structures.o -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpidkWjv/R.INSTALL597ea74db7c2f/BAS/src'
make[1]: Entering directory '/tmp/RtmpidkWjv/R.INSTALL597ea74db7c2f/BAS/src'
make[1]: Leaving directory '/tmp/RtmpidkWjv/R.INSTALL597ea74db7c2f/BAS/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-BAS/00new/BAS/libs
** R
** data
** demo
** 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 (BAS)