aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Kellner <ken@kenkellner.com>2020-10-06 11:58:45 -0400
committerKen Kellner <ken@kenkellner.com>2020-10-06 11:58:45 -0400
commit9e793a6615d645bc3147669e529f4a699f874ab2 (patch)
tree9de9826fb4ed95e576ab35cfd475e292589d715f
parent329bd6ced8ebcd40fbbc269149cd554f0d6c70b5 (diff)
Bump version and add Travis checks
-rw-r--r--.Rbuildignore1
-rw-r--r--.travis.yml12
-rw-r--r--DESCRIPTION2
-rw-r--r--README.md25
4 files changed, 22 insertions, 18 deletions
diff --git a/.Rbuildignore b/.Rbuildignore
index e3bd8fd..540c36a 100644
--- a/.Rbuildignore
+++ b/.Rbuildignore
@@ -10,3 +10,4 @@ model.txt
example2.R
README.md
env.R
+.travis.yml
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..5dec191
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,12 @@
+language: r
+r:
+ - release
+ - devel
+
+cache: packages
+sudo: false
+
+addons:
+ apt:
+ packages:
+ - jags
diff --git a/DESCRIPTION b/DESCRIPTION
index da1c450..d804a1c 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,5 +1,5 @@
Package: jagsUI
-Version: 1.5.1.5000
+Version: 1.5.1.9000
Date: 2020-10-06
Title: A Wrapper Around 'rjags' to Streamline 'JAGS' Analyses
Author: Ken Kellner <contact@kenkellner.com>
diff --git a/README.md b/README.md
index 4b44a32..28f93ac 100644
--- a/README.md
+++ b/README.md
@@ -1,24 +1,15 @@
jagsUI
==========
-This package runs JAGS (Just Another Gibbs Sampler) analyses from within R. It acts as a wrapper and alternative interface for the functions in the rjags package and adds some custom output and graphical options.
+[![CRAN status](https://www.r-pkg.org/badges/version/jagsUI)](https://cran.r-project.org/web/packages/jagsUI/index.html)
+[![Build Status](https://travis-ci.org/kenkellner/jagsUI.svg?branch=master)](https://travis-ci.org/kenkellner/jagsUI)
-There are several other similar packages (R2jags, runjags, and of course rjags itself). I wrote this one to allow tighter control over the JAGS adaptive and burn-in periods (see the issue described here: http://stats.stackexchange.com/questions/45193/r2jags-does-not-remove-the-burn-in-part-sometimes) and to simplify other common tasks such as formatting data, plotting results, and running chains in parallel.
+This package runs `JAGS` (Just Another Gibbs Sampler) analyses from within `R`. It acts as a wrapper and alternative interface for the functions in the `rjags` package and adds some custom output and graphical options. It also makes running chains in parallel quick and easy.
-To install the package independent of CRAN:
+You can install the package from [CRAN](https://cran.r-project.org/web/packages/jagsUI/index.html), or get the development version from Github:
-1. Install the latest version of JAGS on your computer (http://sourceforge.net/projects/mcmc-jags/files/JAGS/). If you have a 64-bit OS, you may need to install both the 32 and 64 bit versions of JAGS (if available). If you are running R 3.3.0 or later on Windows, make sure you install the correct version (see release notes).
-2. Download the latest source package .tar.gz or Windows binary .zip file from the 'Release' tab of the repository (https://github.com/kenkellner/jagsUI).
-3. The jagsUI library requires packages rjags and coda. If you have previously installed the coda and/or rjags packages, I highly recommend removing and re-installing them first:
-
- remove.packages(c('coda','rjags'))
- install.packages(c('coda','rjags'))
-4. Finally, in R or Rstudio, choose to install a package from a local/archive file and select the downloaded package.
-
-Alternatively, you can install directly from R, using package devtools (which installs the other required packages automatically). Devtools may complain that Rtools are not installed, but they are not necessary to install this package, so you can safely ignore the warning.
+```r
+devtools::install_github('kenkellner/jagsUI')
```
-remove.packages(c('coda','rjags'))
-library(devtools)
-install_github("kenkellner/jagsUI")
-```
-Acknowledgments: Martyn Plummer, developer of the excellent JAGS software package and the rjags R package; Andrew Gelman, Sibylle Sturtz, Uwe Ligges, Yu-Sung Su, and Masanao Yajima, developers of the R2WinBUGS and R2jags packages on which my work is based; Robert Swihart, Marc Kery, Jerome Guelat, and Michael Schaub, who tested and provided helpful suggestions for early versions of the package.
+
+Acknowledgments: Martyn Plummer, developer of the excellent JAGS software package and the `rjags` R package; Andrew Gelman, Sibylle Sturtz, Uwe Ligges, Yu-Sung Su, and Masanao Yajima, developers of the `R2WinBUGS` and `R2jags` packages on which the package was originally based; Robert Swihart, Marc Kery, Jerome Guelat, Michael Schaub, and Mike Meredith who tested and provided helpful suggestions and improvements for the package.