Skip to content

Commit

Permalink
fix jagsUI neff bug
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyyoungflesh committed Jul 20, 2023
1 parent b9e9178 commit aef173f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
^lastMiKTeXException$
^revdep$
^codemeta\.json$
^CRAN-SUBMISSION$
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: MCMCvis
Type: Package
Title: Tools to Visualize, Manipulate, and Summarize MCMC Output
Version: 0.16.0
Version: 0.16.1
Authors@R: c(
person("Casey", "Youngflesh", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0001-6343-3311")),
person("Christian", "Che-Castaldo", role = c("aut"), email = "[email protected]", comment = c(ORCID = "0000-0002-7670-2178")),
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
NEWS
====

# 0.16.1

- Fix bug in `MCMCsummary` that prevented `n.eff` from being displayed for `jagsUI` objects


# 0.16.0

- All functions now accept model objects fit with `cmdstanr` package
Expand Down
2 changes: 1 addition & 1 deletion R/MCMCsummary.R
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ MCMCsummary <- function(object,

if (n.eff == TRUE &
(methods::is(object2, 'stanfit') |
methods::is(object2, 'jagsUI')))
methods::is(object, 'jagsUI')))
{
if (methods::is(object2, 'stanfit'))
{
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# MCMCvis <a href='https://cran.r-project.org/web/packages/MCMCvis/vignettes/MCMCvis.html'><img src='figs/MCMC_vis_logo_v3_bw.png' align="right" height="225" /></a>

[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/MCMCvis)](http://cran.r-project.org/package=MCMCvis)
![devel 0.16.0](https://img.shields.io/badge/devel-0.16.0-red.svg)
![devel 0.16.1](https://img.shields.io/badge/devel-0.16.1-red.svg)
[![Downloads](http://cranlogs.r-pkg.org/badges/MCMCvis?color=blue)](http://cran.rstudio.com/package=MCMCvis)
[![DOI](http://joss.theoj.org/papers/10.21105/joss.00640/status.svg)](https://doi.org/10.21105/joss.00640)

Expand Down

0 comments on commit aef173f

Please sign in to comment.