report icon indicating copy to clipboard operation
report copied to clipboard

Error in `report_table` with BFmodels

Open rempsyc opened this issue 2 years ago • 0 comments

library(bayestestR)
library(report)
packageVersion("report")
#> [1] '0.5.5'

mo0 <- lm(Sepal.Length ~ 1, data = iris)
mo1 <- lm(Sepal.Length ~ Species, data = iris)
mo2 <- lm(Sepal.Length ~ Species + Petal.Length, data = iris)
mo3 <- lm(Sepal.Length ~ Species * Petal.Length, data = iris)

BFmodels <- bayesfactor_models(mo1, mo2, mo3, denominator = mo0)

report_table(BFmodels)
#> Error in `[[<-.data.frame`(`*tmp*`, other_ci_low[i], value = logical(0)): replacement has 0 rows, data has 4

Created on 2023-01-18 with reprex v2.0.2

Which was failing in examples so removed it temporarily until we fix this.

rempsyc avatar Jan 18 '23 15:01 rempsyc