comodin19 / BayesVarSel

BayesVarSel: R package to calculate Bayes factors, model choice and variable selection in linear models
8 stars 5 forks source link

Fail in check() #35

Closed gongardo closed 1 year ago

gongardo commented 2 years ago

In working with an updated version for CRAN, we are having problems running the examples within the devtools::check() function. In particular, it breaks when trying to use Bvs

gongardo commented 2 years ago

This is an error that only shows up when using, within the check(), the examples that run Bvs. It crashes here:

char nfile7[100]="/NormConstantPrior";
strcpy(strtmp,home);
strcat(strtmp,nfile7);
strcpy(nfile7,strtmp);
FILE * fNormCPrior = fopen(strcat(nfile7,subindex), "w");

but there is nothing wrong with this code. When I do the check through R CMD it does not show up.