suyusung / R2jags

R2jags: Using R to Run 'JAGS'
8 stars 3 forks source link

Fix summary errors for one-parameter models without DIC #11

Closed wlandau-lilly closed 3 years ago

wlandau-lilly commented 3 years ago

This PR fixes the error from #7 with a one-parameter model with DIC = FALSE. I also added a regression test to prevent the error from coming back.

wlandau-lilly commented 3 years ago

By the way, the Git diff appears long because your machine and mine assign whitespace differently. If you hide whitespace changes in the GitHub view, you will see a more informative view of what I changed.

Screen Shot 2021-01-13 at 2 46 46 PM