diff --git a/DESCRIPTION b/DESCRIPTION index dc342b3..b9d74a6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: BMA -Version: 3.18.19 -Date: 2024-10-17 +Version: 3.18.20 +Date: 2025-01-10 Title: Bayesian Model Averaging Authors@R: c(person(given = "Adrian", family = "Raftery", diff --git a/R/iBMA.glm.R b/R/iBMA.glm.R index d07db94..32508b0 100755 --- a/R/iBMA.glm.R +++ b/R/iBMA.glm.R @@ -26,9 +26,9 @@ https://github.com/SurajGupta/r-source/blob/master/src/main/envir.c src <- ' if (TYPEOF(env) == NILSXP) -error("use of NULL environment is defunct"); +perror("use of NULL environment is defunct"); if (TYPEOF(env) != ENVSXP) -error("not an environment"); +perror("not an environment"); UNLOCK_FRAME(env); diff --git a/R/iBMA.surv.R b/R/iBMA.surv.R index 13f9b54..abc7813 100755 --- a/R/iBMA.surv.R +++ b/R/iBMA.surv.R @@ -27,9 +27,9 @@ https://github.com/SurajGupta/r-source/blob/master/src/main/envir.c src <- ' if (TYPEOF(env) == NILSXP) -error("use of NULL environment is defunct"); +perror("use of NULL environment is defunct"); if (TYPEOF(env) != ENVSXP) -error("not an environment"); +perror("not an environment"); UNLOCK_FRAME(env);