From: <li...@us...> - 2015-07-29 17:09:37
|
Revision: 270 http://sourceforge.net/p/bugs-r/code/270 Author: ligges Date: 2015-07-29 17:09:35 +0000 (Wed, 29 Jul 2015) Log Message: ----------- comit for last CRAN version Modified Paths: -------------- trunk/R2WinBUGS/DESCRIPTION trunk/R2WinBUGS/R/openbugs.R trunk/R2WinBUGS/R/read.bugs.R trunk/R2WinBUGS/man/bugs.Rd trunk/R2WinBUGS/man/openbugs.Rd trunk/R2WinBUGS/vignettes/R2WinBUGS.Rnw trunk/R2WinBUGS/vignettes/bugs.tex Modified: trunk/R2WinBUGS/DESCRIPTION =================================================================== --- trunk/R2WinBUGS/DESCRIPTION 2015-05-31 15:27:27 UTC (rev 269) +++ trunk/R2WinBUGS/DESCRIPTION 2015-07-29 17:09:35 UTC (rev 270) @@ -1,22 +1,20 @@ Package: R2WinBUGS -Title: Running WinBUGS and OpenBUGS from R / S-PLUS -Date: 2013-04-07 -Version: 2.1-19 +Title: Running 'WinBUGS' and 'OpenBUGS' from 'R' / 'S-PLUS' +Date: 2015-05-31 +Version: 2.1-20 Author: originally written by Andrew Gelman <ge...@st...>; changes and packaged by Sibylle Sturtz <st...@st...> and Uwe Ligges <li...@st...>. With considerable contributions by Gregor Gorjanc <gre...@bf...> and Jouni Kerman <ke...@st...>. Ported to S-PLUS by Insightful Corp. -Description: Using this package, - it is possible to call a BUGS model, summarize inferences and - convergence in a table and graph, and save the simulations in arrays for easy access - in R / S-PLUS. In S-PLUS, the openbugs functionality and the windows emulation - functionality is not yet available. +Description: Invoke a 'BUGS' model in 'OpenBUGS' or 'WinBUGS', a class "bugs" for 'BUGS' + results and functions to work with that class. + Function write.model() allows a 'BUGS' model file to be written. + The class and auxiliary functions could be used with other MCMC programs, including 'JAGS'. Depends: R (>= 2.13.0), coda (>= 0.11-0), boot Suggests: BRugs (>= 0.3-2) -SystemRequirements: WinBUGS 1.4 -URL: http://www.stat.columbia.edu/~gelman/bugsR/ +SystemRequirements: OpenBugs for functions bugs() and openbugs() or WinBUGS 1.4 for function bugs() Maintainer: Uwe Ligges <li...@st...> License: GPL-2 Dialect: R, S-PLUS Modified: trunk/R2WinBUGS/R/openbugs.R =================================================================== --- trunk/R2WinBUGS/R/openbugs.R 2015-05-31 15:27:27 UTC (rev 269) +++ trunk/R2WinBUGS/R/openbugs.R 2015-07-29 17:09:35 UTC (rev 270) @@ -6,7 +6,7 @@ { if(!is.R()) stop("OpenBUGS is not yet available in S-PLUS") - if(!require("BRugs")) + if(!requireNamespace("BRugs")) stop("BRugs is required") ## switching from bugs() to BRugsFit() notation Modified: trunk/R2WinBUGS/R/read.bugs.R =================================================================== --- trunk/R2WinBUGS/R/read.bugs.R 2015-05-31 15:27:27 UTC (rev 269) +++ trunk/R2WinBUGS/R/read.bugs.R 2015-07-29 17:09:35 UTC (rev 270) @@ -1,5 +1,5 @@ read.bugs <- function(codafiles, ...){ - if(!is.R() && !require("coda")) + if(!is.R() && !requireNamespace("coda", quietly = TRUE)) stop("package 'coda' is required to use this function") mcmc.list(lapply(codafiles, read.coda, index.file = file.path(dirname(codafiles[1]), "codaIndex.txt"), Modified: trunk/R2WinBUGS/man/bugs.Rd =================================================================== --- trunk/R2WinBUGS/man/bugs.Rd 2015-05-31 15:27:27 UTC (rev 269) +++ trunk/R2WinBUGS/man/bugs.Rd 2015-07-29 17:09:35 UTC (rev 270) @@ -208,8 +208,7 @@ \emph{Journal of Statistical Software} 12(3), 1-16. } -\author{Andrew Gelman, \email{ge...@st...}, - \url{http:/www.stat.columbia.edu/~gelman/bugsR/}; modifications and +\author{Andrew Gelman, \email{ge...@st...}; modifications and packaged by Sibylle Sturtz, \email{st...@st...}, and Uwe Ligges.} Modified: trunk/R2WinBUGS/man/openbugs.Rd =================================================================== --- trunk/R2WinBUGS/man/openbugs.Rd 2015-05-31 15:27:27 UTC (rev 269) +++ trunk/R2WinBUGS/man/openbugs.Rd 2015-07-29 17:09:35 UTC (rev 270) @@ -63,8 +63,7 @@ \value{A \code{\link{bugs}} object.} -\author{Andrew Gelman, \email{ge...@st...}, - \url{http:/www.stat.columbia.edu/~gelman/bugsR/}; modifications and +\author{Andrew Gelman, \email{ge...@st...}; modifications and packaged by Sibylle Sturtz, \email{st...@st...}, and Uwe Ligges. } Modified: trunk/R2WinBUGS/vignettes/R2WinBUGS.Rnw =================================================================== --- trunk/R2WinBUGS/vignettes/R2WinBUGS.Rnw 2015-05-31 15:27:27 UTC (rev 269) +++ trunk/R2WinBUGS/vignettes/R2WinBUGS.Rnw 2015-07-29 17:09:35 UTC (rev 270) @@ -1,6 +1,6 @@ %\VignetteIndexEntry{R2WinBUGS} \documentclass{Z} -\usepackage{RdRW,thumbpdf} +\usepackage{RdRW} \newcommand{\WinBUGS}{{\proglang{WinBUGS}}{}} \newcommand{\RW}{{\pkg{R2WinBUGS}}{}} \renewcommand{\R}{{\proglang{R}}{}} Modified: trunk/R2WinBUGS/vignettes/bugs.tex =================================================================== --- trunk/R2WinBUGS/vignettes/bugs.tex 2015-05-31 15:27:27 UTC (rev 269) +++ trunk/R2WinBUGS/vignettes/bugs.tex 2015-07-29 17:09:35 UTC (rev 270) @@ -137,7 +137,7 @@ \end{ldescription} \end{Value} \begin{Author}\relax -Andrew Gelman, \email{ge...@st...}, \url{http:/www.stat.columbia.edu/~gelman/bugsR/}; +Andrew Gelman, \email{ge...@st...}; modifications and packaged by Sibylle Sturtz, \email{st...@st...}, and Uwe Ligges. \end{Author} \begin{References}\relax This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |