Comments (6)
Regressing see
to previous release fixes the issue:
# remotes::install_version("see", version = "0.8.0", repos = "http://cran.us.r-project.org")
library(easystats)
#> Warning: package 'easystats' was built under R version 4.2.3
#> # Attaching packages: easystats 0.7.0 (red = needs update)
#> ✔ bayestestR 0.13.1.7 ✔ correlation 0.8.4.9000
#> ✔ datawizard 0.9.0.1 ✔ effectsize 0.8.6.3
#> ✔ insight 0.19.6.7 ✔ modelbased 0.8.6.4
#> ✔ performance 0.10.8.1 ✔ parameters 0.21.3.1
#> ✔ report 0.5.7.13 ✖ see 0.8.0
#>
#> Restart the R-Session and update packages with `easystats::easystats_update()`.
example("check_model", run.donttest = TRUE)
#>
#> chck_m> ## Don't show:
#> chck_m> if (require("lme4")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
#> chck_m+ ## End(Don't show)
#> chck_m+ ## No test:
#> chck_m+ m <- lm(mpg ~ wt + cyl + gear + disp, data = mtcars)
#> chck_m+ check_model(m)
#> chck_m+
#> chck_m+ data(sleepstudy, package = "lme4")
#> chck_m+ m <- lme4::lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
#> chck_m+ check_model(m, panel = FALSE)
#> chck_m+ ## End(No test)
#> chck_m+ ## Don't show:
#> chck_m+ }) # examplesIf
#> Loading required package: lme4
#> Warning: package 'lme4' was built under R version 4.2.3
#> Loading required package: Matrix
#> Warning: package 'Matrix' was built under R version 4.2.3
#> > m <- lm(mpg ~ wt + cyl + gear + disp, data = mtcars)
#> > check_model(m)
#> > data(sleepstudy, package = "lme4")
#> > m <- lme4::lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
#> > check_model(m, panel = FALSE)
#>
#> chck_m> ## End(Don't show)
#> chck_m>
#> chck_m>
#> chck_m>
Created on 2023-11-10 with reprex v2.0.2
from performance.
Can't reproduce.
library(easystats)
#> # Attaching packages: easystats 0.7.0
#> ✔ bayestestR 0.13.1 ✔ correlation 0.8.4
#> ✔ datawizard 0.9.0 ✔ effectsize 0.8.6
#> ✔ insight 0.19.6 ✔ modelbased 0.8.6
#> ✔ performance 0.10.8 ✔ parameters 0.21.3
#> ✔ report 0.5.7 ✔ see 0.8.1
example("check_model", run.donttest = TRUE)
#>
#> chck_m> ## Don't show:
#> chck_m> if (require("lme4")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
#> chck_m+ ## End(Don't show)
#> chck_m+ ## No test:
#> chck_m+ m <- lm(mpg ~ wt + cyl + gear + disp, data = mtcars)
#> chck_m+ check_model(m)
#> chck_m+
#> chck_m+ data(sleepstudy, package = "lme4")
#> chck_m+ m <- lme4::lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
#> chck_m+ check_model(m, panel = FALSE)
#> chck_m+ ## End(No test)
#> chck_m+ ## Don't show:
#> chck_m+ }) # examplesIf
#> Loading required package: lme4
#> Loading required package: Matrix
#> > m <- lm(mpg ~ wt + cyl + gear + disp, data = mtcars)
#> > check_model(m)
#> > data(sleepstudy, package = "lme4")
#> > m <- lme4::lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
#> > check_model(m, panel = FALSE)
#>
#> chck_m> ## End(Don't show)
#> chck_m>
#> chck_m>
#> chck_m>
sessionInfo()
#> R version 4.3.2 (2023-10-31 ucrt)
#> Platform: x86_64-w64-mingw32/x64 (64-bit)
#> Running under: Windows 11 x64 (build 22631)
#>
#> Matrix products: default
#>
#>
#> locale:
#> [1] LC_COLLATE=German_Germany.utf8 LC_CTYPE=German_Germany.utf8
#> [3] LC_MONETARY=German_Germany.utf8 LC_NUMERIC=C
#> [5] 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] lme4_1.1-35.1 Matrix_1.6-2 see_0.8.1 report_0.5.7
#> [5] parameters_0.21.3 performance_0.10.8 modelbased_0.8.6 insight_0.19.6
#> [9] effectsize_0.8.6 datawizard_0.9.0 correlation_0.8.4 bayestestR_0.13.1
#> [13] easystats_0.7.0
#>
#> loaded via a namespace (and not attached):
#> [1] tidyselect_1.2.0 farver_2.1.1 dplyr_1.1.3
#> [4] R.utils_2.12.2 bitops_1.0-7 fastmap_1.1.1
#> [7] TH.data_1.1-2 pracma_2.4.2 reprex_2.0.2
#> [10] digest_0.6.33 estimability_1.4.1 lifecycle_1.0.4
#> [13] survival_3.5-7 magrittr_2.0.3 compiler_4.3.2
#> [16] rlang_1.1.2 tools_4.3.2 utf8_1.2.4
#> [19] yaml_2.3.7 knitr_1.45 labeling_0.4.3
#> [22] multcomp_1.4-25 memuse_4.2-3 R.cache_0.16.0
#> [25] withr_2.5.2 purrr_1.0.2 R.oo_1.25.0
#> [28] grid_4.3.2 fansi_1.0.5 opdisDownsampling_0.8.2
#> [31] caTools_1.18.2 xtable_1.8-4 colorspace_2.1-0
#> [34] ggplot2_3.4.4 emmeans_1.8.9 scales_1.2.1
#> [37] iterators_1.0.14 MASS_7.3-60 cli_3.6.1
#> [40] mvtnorm_1.2-3 rmarkdown_2.25 generics_0.1.3
#> [43] twosamples_2.0.1 robustbase_0.99-0 rstudioapi_0.15.0
#> [46] httr_1.4.7 minqa_1.2.6 splines_4.3.2
#> [49] parallel_4.3.2 vctrs_0.6.4 boot_1.3-28.1
#> [52] sandwich_3.0-2 benchmarkme_1.0.8 patchwork_1.1.3
#> [55] ggrepel_0.9.4 foreach_1.5.2 qqplotr_0.0.6
#> [58] glue_1.6.2 benchmarkmeData_1.0.4 DEoptimR_1.1-3
#> [61] nloptr_2.0.3 codetools_0.2-19 gtable_0.3.4
#> [64] munsell_0.5.0 tibble_3.2.1 styler_1.10.2
#> [67] pillar_1.9.0 htmltools_0.5.7 R6_2.5.1
#> [70] doParallel_1.0.17 evaluate_0.23 lattice_0.22-5
#> [73] R.methodsS3_1.8.2 qqconf_1.3.2 Rcpp_1.0.11
#> [76] coda_0.19-4 nlme_3.1-163 mgcv_1.9-0
#> [79] xfun_0.41 fs_1.6.3 zoo_1.8-12
#> [82] pkgconfig_2.0.3
Created on 2023-11-11 with reprex v2.0.2
from performance.
library(easystats)
#> # Attaching packages: easystats 0.7.0
#> ✔ bayestestR 0.13.1.7 ✔ correlation 0.8.4.9000
#> ✔ datawizard 0.9.0.1 ✔ effectsize 0.8.6.3
#> ✔ insight 0.19.6.7 ✔ modelbased 0.8.6.4
#> ✔ performance 0.10.8.1 ✔ parameters 0.21.3.1
#> ✔ report 0.5.7.13 ✔ see 0.8.1
example("check_model", run.donttest = TRUE)
#>
#> chck_m> ## Don't show:
#> chck_m> if (require("lme4")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
#> chck_m+ ## End(Don't show)
#> chck_m+ ## No test:
#> chck_m+ m <- lm(mpg ~ wt + cyl + gear + disp, data = mtcars)
#> chck_m+ check_model(m)
#> chck_m+
#> chck_m+ data(sleepstudy, package = "lme4")
#> chck_m+ m <- lme4::lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
#> chck_m+ check_model(m, panel = FALSE)
#> chck_m+ ## End(No test)
#> chck_m+ ## Don't show:
#> chck_m+ }) # examplesIf
#> Loading required package: lme4
#> Loading required package: Matrix
#> > m <- lm(mpg ~ wt + cyl + gear + disp, data = mtcars)
#> > check_model(m)
#> > data(sleepstudy, package = "lme4")
#> > m <- lme4::lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
#> > check_model(m, panel = FALSE)
#>
#> chck_m> ## End(Don't show)
#> chck_m>
#> chck_m>
#> chck_m>
sessionInfo()
#> R version 4.3.2 (2023-10-31 ucrt)
#> Platform: x86_64-w64-mingw32/x64 (64-bit)
#> Running under: Windows 11 x64 (build 22631)
#>
#> Matrix products: default
#>
#>
#> locale:
#> [1] LC_COLLATE=German_Germany.utf8 LC_CTYPE=German_Germany.utf8
#> [3] LC_MONETARY=German_Germany.utf8 LC_NUMERIC=C
#> [5] 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] lme4_1.1-35.1 Matrix_1.6-2 see_0.8.1
#> [4] report_0.5.7.13 parameters_0.21.3.1 performance_0.10.8.1
#> [7] modelbased_0.8.6.4 insight_0.19.6.7 effectsize_0.8.6.3
#> [10] datawizard_0.9.0.1 correlation_0.8.4.9000 bayestestR_0.13.1.7
#> [13] easystats_0.7.0
#>
#> loaded via a namespace (and not attached):
#> [1] tidyselect_1.2.0 farver_2.1.1 dplyr_1.1.3
#> [4] R.utils_2.12.2 bitops_1.0-7 fastmap_1.1.1
#> [7] TH.data_1.1-2 pracma_2.4.2 reprex_2.0.2
#> [10] digest_0.6.33 estimability_1.4.1 lifecycle_1.0.4
#> [13] survival_3.5-7 magrittr_2.0.3 compiler_4.3.2
#> [16] rlang_1.1.2 tools_4.3.2 utf8_1.2.4
#> [19] yaml_2.3.7 knitr_1.45 labeling_0.4.3
#> [22] multcomp_1.4-25 memuse_4.2-3 R.cache_0.16.0
#> [25] withr_2.5.2 purrr_1.0.2 R.oo_1.25.0
#> [28] grid_4.3.2 fansi_1.0.5 opdisDownsampling_0.8.2
#> [31] caTools_1.18.2 xtable_1.8-4 colorspace_2.1-0
#> [34] ggplot2_3.4.4 emmeans_1.8.9 scales_1.2.1
#> [37] iterators_1.0.14 MASS_7.3-60 cli_3.6.1
#> [40] mvtnorm_1.2-3 rmarkdown_2.25 generics_0.1.3
#> [43] twosamples_2.0.1 robustbase_0.99-0 rstudioapi_0.15.0
#> [46] httr_1.4.7 minqa_1.2.6 splines_4.3.2
#> [49] parallel_4.3.2 vctrs_0.6.4 boot_1.3-28.1
#> [52] sandwich_3.0-2 benchmarkme_1.0.8 patchwork_1.1.3
#> [55] ggrepel_0.9.4 foreach_1.5.2 qqplotr_0.0.6
#> [58] glue_1.6.2 benchmarkmeData_1.0.4 DEoptimR_1.1-3
#> [61] nloptr_2.0.3 codetools_0.2-19 gtable_0.3.4
#> [64] munsell_0.5.0 tibble_3.2.1 styler_1.10.2
#> [67] pillar_1.9.0 htmltools_0.5.7 R6_2.5.1
#> [70] doParallel_1.0.17 evaluate_0.23 lattice_0.22-5
#> [73] R.methodsS3_1.8.2 qqconf_1.3.2 Rcpp_1.0.11
#> [76] coda_0.19-4 nlme_3.1-163 mgcv_1.9-0
#> [79] xfun_0.41 fs_1.6.3 zoo_1.8-12
#> [82] pkgconfig_2.0.3
Created on 2023-11-11 with reprex v2.0.2
from performance.
Interesting. I tested on a different computer and it also works. Probably something to do with the computer. I'll check again tomorrow.
from performance.
Closing this because it seems specific to work setup, even though I was unable to fix it reinstalling see
, easystats
, ggplot2
. Could be corruption of some related files, not sure.
from performance.
Actually I was able to fix it by reinstalling qqplotr
from CRAN instead of the development version.
from performance.
Related Issues (20)
- Error and Incomplete Output Using performance::check_collinearity with Cox Models HOT 1
- Normality of Residuals of check_model is abnormal. HOT 2
- Revise compare_models() for Bayesian models HOT 5
- R-squared for glmmTMB (binomial) HOT 9
- check_model() bugged for lmer models *only* when run as part of an RMD chunk HOT 3
- check_predictions() fails when outcome is log-transformed and named like a valid function HOT 2
- Error in `check_model(<glmer>)` HOT 3
- Problems using `r2_nakagawa()` HOT 3
- check_model fails if dependent variable is labelled HOT 5
- Remove unnecessary `tryCatch()` statements targeting `insight::download_model()` HOT 2
- check_collinearity() does not work with orthogonal polynomials HOT 10
- Should check_overdispersion give warning when applied to quasipoisson? HOT 1
- Check for influential observations of GLM w/o numeric variables
- `check_model` not working for `brms::brm` with `Beta()` family HOT 3
- Comparing frequentist and Bayesian models
- 95 CI for rmse HOT 9
- ICC for `beta_family` not accurate HOT 25
- `check_zeroinflation()` not working with glmmTMB? HOT 2
- Confidence intervals for ICC, it seems that none of the `ci_method`s work (neither default, `boot` or `analytical`). HOT 11
- Infinite loop in icc() for some brms models HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from performance.