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:
[<- with an S4 value into a list currently embeds the S4 object
into its own list such that the end result is roughly equivalent
to using [[<-. That behavior is deprecated. In the future, the
S4 value will be coerced to a list with as.list().
The following code with R 3.3.0 and BayesFactor 0.9.12-2 throws a warning:
This likely has to do with the change noted in R 3.3.0 NEWS: