richarddmorey / BayesFactor

BayesFactor R package for Bayesian data analysis with common statistical models.
https://richarddmorey.github.io/BayesFactor/
132 stars 49 forks source link

"implicit list embedding of S4 objects is deprecated" #73

Closed richarddmorey closed 8 years ago

richarddmorey commented 8 years ago

The following code with R 3.3.0 and BayesFactor 0.9.12-2 throws a warning:

> 1/BayesFactor::proportionBF(14,50,.5,nullInterval=c(.5,1))
             denominator
numerator     Alt., p0=0.5, r=0.5 0.5<p<1 Alt., p0=0.5, r=0.5 !(0.5<p<1)
  Null, p=0.5                    12.10572                     0.01805363
Warning messages:
1: In `[<-`(`*tmp*`, i, value = <S4 object of class "BFBayesFactor">) :
  implicit list embedding of S4 objects is deprecated
2: In `[<-`(`*tmp*`, i, value = <S4 object of class "BFBayesFactor">) :
  implicit list embedding of S4 objects is deprecated

This likely has to do with the change noted in R 3.3.0 NEWS:

richarddmorey commented 8 years ago

See https://stat.ethz.ch/pipermail/r-devel/2016-May/072730.html