Skip to content

Commit

Permalink
version 0.3-5
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun Yan authored and gaborcsardi committed Oct 10, 2006
1 parent e5b83c5 commit fed886c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
2006-10-09 (0.3-5) Jun Yan <jyan@.stat.uiowa.edu>

* changed check '(is.null(bugs))' to '(length(bugs) == 0)' in rbugs,
as pointed out by Simon Bonner <sbonner@stat.sfu.ca>.

2006-03-28 (0.3-4) Jun Yan <jyan@stat.uiowa.edu>

* added random number seed as an option to rbugs and
Expand Down
6 changes: 3 additions & 3 deletions DESCRIPTION
@@ -1,7 +1,7 @@
Package: rbugs
Title: Fusing R and OpenBugs
Date: 2006-03-28
Version: 0.3-4
Date: 2006-10-10
Version: 0.3-5
Author: Jun Yan <jyan@stat.uiowa.edu>
(with part of the code modified from bugs.R,
http://www.stat.columbia.edu/~gelman/bugsR/,
Expand All @@ -11,4 +11,4 @@ Description: Functions to prepare files needed for running BUGS
with OpenBugs is emphasized.
Maintainer: Jun Yan <jyan@stat.uiowa.edu>
License: GPL 2.0 or later
Packaged: Tue Mar 28 12:45:07 2006; jyan
Packaged: Mon Oct 9 22:38:08 2006; jyan
2 changes: 1 addition & 1 deletion R/rbugs.R
Expand Up @@ -45,7 +45,7 @@ rbugs <- function(data, inits, paramSet, model,
## how to check the existence of WinBUGS???
}
else { ## use linbugs!
if (is.null(bugs)) bugs <- system("which linbugs", TRUE)
if (length(bugs) == 0) bugs <- system("which linbugs", TRUE)
if (length(bugs) == 0)
stop(paste("BUGS executable", bugs, "does not exists."))
}
Expand Down
File renamed without changes.

0 comments on commit fed886c

Please sign in to comment.