easystats / easystats/parameters

merModList models are on the list of supported models, but give errors in model_summary and other functions

Open
#1,199 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug :bug: Enhancement :boom:
Dominant language
R
Stars
499
Forks
45
Avg merge
3d 1h
Merged PRs (30d)
3

Description

Hello, I am trying to use model_summary() to extract information from a merModList class object created by the merTools package. merModList models are listed in supported_models(), but when I try using functions from the parameters package, I get error messages.

Some functions like model_summary() give the following error message:

Fehler: Sorry, model_parameters() failed with the following error (possible class merModList not supported):
formales Argument "component" passt zu mehreren gegebenen Argumenten`

Other functions like standardize_names() just say:

Objects of class merModList are currently not supported.

I would be very grateful for help on making merModList models work with this package. Thanks!

Example:

library(merTools)
library(parameters)

# example from the merTools::lmerModList help file:
sim_list <- replicate(n = 10,
                      expr = sleepstudy[sample(row.names(sleepstudy), 180),],
                      simplify=FALSE)
fml <- "Reaction ~ Days + (Days | Subject)"
mod <- lmerModList(fml, data = sim_list)
summary(mod) # works

any(supported_models() == "merModList") # works

standardize_names(mod) # doesn't work
model_parameters(mod) # doesn't work

SessionInfo:

R version 4.5.1 (2025-06-13 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 26200)

Matrix products: default
  LAPACK version 3.12.1

locale:
[1] LC_COLLATE=German_Germany.utf8  LC_CTYPE=German_Germany.utf8    LC_MONETARY=German_Germany.utf8
[4] LC_NUMERIC=C                    LC_TIME=German_Germany.utf8    

time zone: Europe/Berlin
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] parameters_0.28.3 merTools_0.6.4    arm_1.14-4        lme4_1.1-37       Matrix_1.7-3      MASS_7.3-65      

loaded via a namespace (and not attached):
 [1] broom.mixed_0.2.9.6 future_1.58.0       generics_0.1.4      tidyr_1.3.1         lattice_0.22-7     
 [6] listenv_0.9.1       digest_0.6.37       magrittr_2.0.3      grid_4.5.1          RColorBrewer_1.1-3 
[11] iterators_1.0.14    fastmap_1.2.0       mvtnorm_1.3-3       foreach_1.5.2       backports_1.5.0    
[16] promises_1.3.3      purrr_1.0.4         scales_1.4.0        codetools_0.2-20    shiny_1.11.0       
[21] abind_1.4-8         reformulas_0.4.1    Rdpack_2.6.4        cli_3.6.5           rlang_1.1.6        
[26] rbibutils_2.3       parallelly_1.45.0   splines_4.5.1       withr_3.0.2         datawizard_1.3.0   
[31] tools_4.5.1         parallel_4.5.1      nloptr_2.2.1        coda_0.19-4.1       minqa_1.2.8        
[36] dplyr_1.1.4         ggplot2_3.5.2       httpuv_1.6.16       bayestestR_0.17.0   forcats_1.0.0      
[41] boot_1.3-31         globals_0.18.0      broom_1.0.8         mime_0.13           vctrs_0.6.5        
[46] R6_2.6.1            lifecycle_1.0.4     blme_1.0-7          insight_1.4.6       furrr_0.3.1        
[51] pkgconfig_2.0.3     later_1.4.2         pillar_1.10.2       gtable_0.3.6        glue_1.8.0         
[56] Rcpp_1.0.14         tibble_3.3.0        tidyselect_1.2.1    rstudioapi_0.17.1   xtable_1.8-4       
[61] farver_2.1.2        htmltools_0.5.8.1   nlme_3.1-168        compiler_4.5.1  

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the merTools help-file example and checking supported_models(), standardize_names(), model_parameters(), and model_summary() for the merModList class. Trace the reported argument error and unsupported-class response, then verify that the affected functions work for merModList objects without those errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.