discovr
discovr copied to clipboard
issue with running tutorial discovr_08
processing file: discovr_08.Rmd solution]
Quitting from lines at lines 1984-2007 [unnamed-chunk-22] (discovr_08.Rmd)
Error in validObject():
! invalid class "ddenseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
Backtrace:
- base::summary(BayesFactor::posterior(album_full_bf, iterations = 10000))
- BayesFactor::posterior(album_full_bf, iterations = 10000)
- BayesFactor::posterior(...)
- BayesFactor:::fullDesignMatrix(formula, data, dataTypes)
- base::lapply(...) ...
- MatrixModels::model.Matrix(formula(fmla), data = data, sparse = sparse)
- methods::new(...)
- Matrix (local) initialize(value, ...)
- methods (local) .nextMethod(.Object = .Object, ... = ...)
- methods::validObject(.Object) Warning messages: 1: In eval(parse_only(code), envir = envir) : 2: In eval(parse_only(code), envir = envir) : Execution halted
This is an issue with BayesFactor -see https://github.com/richarddmorey/BayesFactor/issues/169