* installing *source* package ‘BAS’ ... ** this is package ‘BAS’ version ‘2.0.1’ ** 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’ gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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:67:35: warning: unused variable ‘logmargy’ [-Wunused-variable] 67 | double *probs,shrinkage_m,logmargy; | ^~~~~~~~ glm_deterministic.c:67:23: warning: unused variable ‘shrinkage_m’ [-Wunused-variable] 67 | double *probs,shrinkage_m,logmargy; | ^~~~~~~~~~~ gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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:117:45: warning: variable ‘shrinkage_m’ set but not used [-Wunused-but-set-variable] 117 | double *probs, MH=0.0, prior_m=1.0, shrinkage_m, logmarg_m, postold, postnew; | ^~~~~~~~~~~ gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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:54:44: warning: variable ‘shrinkage_m’ set but not used [-Wunused-but-set-variable] 54 | double *probs, MH=0.0, prior_m=1.0,shrinkage_m, logmargy, postold, postnew; | ^~~~~~~~~~~ gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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:121:33: warning: variable ‘shrinkage_m’ set but not used [-Wunused-but-set-variable] 121 | double *probs,logmargy, shrinkage_m; | ^~~~~~~~~~~ glm_sampleworep.c:121:23: warning: variable ‘logmargy’ set but not used [-Wunused-but-set-variable] 121 | double *probs,logmargy, shrinkage_m; | ^~~~~~~~ gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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:101:33: warning: variable ‘shrinkage_m’ set but not used [-Wunused-but-set-variable] 101 | double *probs,logmargy, shrinkage_m; | ^~~~~~~~~~~ glm_sampleworep_grow.c:101:23: warning: variable ‘logmargy’ set but not used [-Wunused-but-set-variable] 101 | double *probs,logmargy, shrinkage_m; | ^~~~~~~~ gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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:348:35: warning: ‘new_loc’ may be used uninitialized [-Wmaybe-uninitialized] 348 | INTEGER(Rcounts)[old_loc] += 1; | ~~~~~~~~~~~~~~~~^~~~~~~~~ lm_amcmc.c:251:13: note: ‘new_loc’ was declared here 251 | int new_loc; | ^~~~~~~ lm_amcmc.c:445:34: warning: ‘postold’ may be used uninitialized [-Wmaybe-uninitialized] 445 | if (!IS) MH = exp(postnew - postold + log(pigammaold) - log(pigammanew)); | ~~~~~~~~^~~~~~~~~ lm_amcmc.c:135:47: note: ‘postold’ was declared here 135 | R2_m, RSquareFull, logmarg_m, postold, postnew; | ^~~~~~~ gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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:331:35: warning: ‘new_loc’ may be used uninitialized [-Wmaybe-uninitialized] 331 | INTEGER(Rcounts)[old_loc] += 1; | ~~~~~~~~~~~~~~~~^~~~~~~~~ lm_amcmc_growable.c:234:13: note: ‘new_loc’ was declared here 234 | int new_loc; | ^~~~~~~ lm_amcmc_growable.c:474:34: warning: ‘postold’ may be used uninitialized [-Wmaybe-uninitialized] 474 | if (!IS) MH = exp(postnew - postold + log(pigammaold) - log(pigammanew)); | ~~~~~~~~^~~~~~~~~ lm_amcmc_growable.c:120:47: note: ‘postold’ was declared here 120 | R2_m, RSquareFull, logmarg_m, postold, postnew; | ^~~~~~~ gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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:137:13: warning: unused variable ‘k’ [-Wunused-variable] 137 | int k = LENGTH(modelprobs); | ^ lm_mcmc.c:312:35: warning: ‘new_loc’ may be used uninitialized [-Wmaybe-uninitialized] 312 | INTEGER(Rcounts)[old_loc] += 1; | ~~~~~~~~~~~~~~~~^~~~~~~~~ lm_mcmc.c:216:13: note: ‘new_loc’ was declared here 216 | int new_loc; | ^~~~~~~ gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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:306:35: warning: ‘new_loc’ may be used uninitialized [-Wmaybe-uninitialized] 306 | INTEGER(Rcounts)[old_loc] += 1; | ~~~~~~~~~~~~~~~~^~~~~~~~~ lm_mcmc_grow.c:211:13: note: ‘new_loc’ was declared here 211 | int new_loc; | ^~~~~~~ gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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:297:22: warning: ‘new_loc’ may be used uninitialized [-Wmaybe-uninitialized] 297 | INTEGER(counts)[old_loc] += 1; | ~~~~~~~~~~~~~~~^~~~~~~~~ lm_mcmcbas.c:194:9: note: ‘new_loc’ was declared here 194 | int new_loc; | ^~~~~~~ gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c lm_sampleworep.c -o lm_sampleworep.o gcc-15 -I"/home/hornik/tmp/R-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -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-d-gcc-valg/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-d-gcc-valg/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R-d-gcc-valg/lib -lR installing to /home/hornik/tmp/CRAN_special_valgrind/BAS.Rcheck/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)