Skip to content

Commit

Permalink
error fix in inline compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
hanase committed Jan 10, 2025
1 parent 50d0a75 commit dade828
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions R/iBMA.glm.R
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions R/iBMA.surv.R
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dade828

Please sign in to comment.