discovr icon indicating copy to clipboard operation
discovr copied to clipboard

issue with running tutorial discovr_08

Open AhmedAli8829 opened this issue 1 year ago • 1 comments

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:

  1. base::summary(BayesFactor::posterior(album_full_bf, iterations = 10000))
  2. BayesFactor::posterior(album_full_bf, iterations = 10000)
  3. BayesFactor::posterior(...)
  4. BayesFactor:::fullDesignMatrix(formula, data, dataTypes)
  5. base::lapply(...) ...
  6. MatrixModels::model.Matrix(formula(fmla), data = data, sparse = sparse)
  7. methods::new(...)
  8. Matrix (local) initialize(value, ...)
  9. methods (local) .nextMethod(.Object = .Object, ... = ...)
  10. methods::validObject(.Object) Warning messages: 1: In eval(parse_only(code), envir = envir) : 2: In eval(parse_only(code), envir = envir) : Execution halted

AhmedAli8829 avatar Apr 07 '24 11:04 AhmedAli8829

This is an issue with BayesFactor -see https://github.com/richarddmorey/BayesFactor/issues/169

profandyfield avatar Apr 07 '24 12:04 profandyfield