check_model error suggestions are not complete
CorneeldH opened this issue · 5 comments
I get the following error when running check_model, even mtcars etc.
Error: The RStudio 'Plots' window is too small to show this set of plots. You may try one of the
following steps to resolve this problem.
- To fix this issue, please make the window larger.
- If this doesn't help, try to reset your zoom settings. In RStudio, go to Menu "View >
Actual Size" and then retry.
- If this still doesn't resolve your problems, you may check whether your apps are rescaled.
On Windows, this can be done in the display settings (Start > Settings > System > Display,
"Scale and layout"). Reduce the scaling and try again.
- Finally, you can try to decrease the base font-size of your theme before plotting. Load
`library(ggplot2)` and run: `theme_set(theme_classic(base_size = 6))`
Also via model_dasbhoard function I get the same error. I tried external plot windows etc, but none of it works.
I tried the four suggestions, but that didn't solve it. I tried searching the error, but couldn't find the code that originates it or solutions
I did saw:
- https://forum.posit.co/t/performance-check-model-error-plots-window-is-too-small/154907/6
- https://forum.posit.co/t/performance-check-model-error-the-rstudio-plots-window-is-too-small/170821
Are there any pointers where to look for the origin of this very strange error, since I'm clearly one of the few people having it it must be something local, but I'm a bit at loss..
Can you try options(easystats_erros = TRUE)
, then re-run your code and post the exact error message?
Thanks for the quick response.
(BTW, I tested it on second machine, with same issue)
With your setting I get the error: "Error: ‘==’ only defined for equally-sized data frames"
When I search this repo on this error I see: #691 and I move back to performance@0.10.8 and ggplot2@3.4.4 I get a blank plot and:
Error: Problem while converting geom to grob.
When I also move see back tot 0.8.0
I get only a blank plot (no more error message).
It seems that I have to upgrade / downgrade somewhere in the whole dependency stream
Windows 11, R Studio 2023.12.1 Build 402
session_info()
─ Session info ─────────────────────────────────────────────────────────────
setting value
version R version 4.3.1 (2023-06-16 ucrt)
os Windows 11 x64 (build 22631)
system x86_64, mingw32
ui RStudio
language (EN)
collate English_Netherlands.utf8
ctype English_Netherlands.utf8
tz Europe/Amsterdam
date 2024-04-19
rstudio 2023.12.1+402 Ocean Storm (desktop)
pandoc 3.1.1 @ C:/Program Files/RStudio/resources/app/bin/quarto/bin/tools/ (via rmarkdown)
─ Packages ─────────────────────────────────────────────────────────────────
! package * version date (UTC) lib source
P askpass 1.1 2019-01-13 [?] CRAN (R 4.3.1)
P backports 1.4.1 2021-12-13 [?] CRAN (R 4.3.1)
bayestestR * 0.13.2 2024-04-01 [1] https://easystats.r-universe.dev (R 4.3.3)
P bit 4.0.5 2022-11-15 [?] CRAN (R 4.3.2)
P bit64 4.0.5 2020-08-30 [?] CRAN (R 4.3.2)
P bitops 1.0-7 2021-04-24 [?] CRAN (R 4.3.1)
P brio 1.1.3 2021-11-30 [?] CRAN (R 4.3.2)
P broom * 1.0.5 2023-06-09 [?] CRAN (R 4.3.2)
P bslib 0.5.0 2023-06-09 [?] CRAN (R 4.3.1)
P BurStMisc * 1.1 2016-08-13 [?] CRAN (R 4.3.2)
P cachem 1.0.8 2023-05-01 [?] CRAN (R 4.3.2)
P caret * 6.0-94 2023-03-21 [?] CRAN (R 4.3.2)
P caTools 1.18.2 2021-03-28 [?] CRAN (R 4.3.2)
P cellranger 1.1.0 2016-07-27 [?] CRAN (R 4.3.2)
P checkmate * 2.3.1 2023-12-04 [?] RSPM (R 4.3.0)
P class 7.3-22 2023-05-03 [?] CRAN (R 4.3.1)
P cli * 3.6.2 2023-12-11 [?] RSPM (R 4.3.0)
P codetools 0.2-19 2023-02-01 [?] CRAN (R 4.3.1)
P colorspace 2.1-0 2023-01-23 [?] CRAN (R 4.3.2)
correlation * 0.8.4.2 2024-04-01 [1] https://easystats.r-universe.dev (R 4.3.3)
P corrr * 0.4.4 2022-08-16 [?] CRAN (R 4.3.3)
P crayon 1.5.2 2022-09-29 [?] CRAN (R 4.3.2)
P crosstalk 1.2.0 2021-11-04 [?] CRAN (R 4.3.2)
P crul 1.4.0 2023-05-17 [?] CRAN (R 4.3.2)
P curl 5.2.0 2023-12-08 [?] RSPM (R 4.3.0)
P data.table 1.15.4 2024-03-30 [?] CRAN (R 4.3.3)
P dataMaid * 1.4.1 2021-10-08 [?] CRAN (R 4.3.2)
datawizard * 0.10.0 2024-04-12 [1] https://easystats.r-universe.dev (R 4.3.3)
P DEoptimR 1.1-2 2023-08-28 [?] CRAN (R 4.3.1)
P devtools * 2.4.5 2022-10-11 [?] CRAN (R 4.3.2)
P dials 1.2.0 2023-04-03 [?] CRAN (R 4.3.2)
P DiceDesign 1.9 2021-02-13 [?] CRAN (R 4.3.2)
P digest * 0.6.33 2023-07-07 [?] CRAN (R 4.3.2)
doParallel 1.0.17 2022-02-07 [1] CRAN (R 4.3.3)
P dplyr * 1.1.2 2023-04-20 [?] CRAN (R 4.3.1)
P DT 0.28 2023-05-18 [?] CRAN (R 4.3.1)
easystats * 0.7.1.1 2024-04-01 [1] https://easystats.r-universe.dev (R 4.3.3)
effectsize * 0.8.7.1 2024-04-03 [1] https://easystats.r-universe.dev (R 4.3.3)
P ellipsis 0.3.2 2021-04-29 [?] CRAN (R 4.3.2)
P emmeans 1.8.7 2023-06-23 [?] CRAN (R 4.3.1)
P estimability 1.4.1 2022-08-05 [?] CRAN (R 4.3.1)
P evaluate 0.21 2023-05-05 [?] CRAN (R 4.3.1)
P fansi 1.0.4 2023-01-22 [?] CRAN (R 4.3.1)
P farver 2.1.1 2022-07-06 [?] CRAN (R 4.3.2)
P fastmap 1.1.1 2023-02-24 [?] CRAN (R 4.3.2)
flexdashboard * 0.6.2 2023-08-11 [1] CRAN (R 4.3.3)
P flextable * 0.9.2 2023-06-18 [?] CRAN (R 4.3.1)
P fontawesome 0.5.1 2023-04-18 [?] CRAN (R 4.3.1)
P fontBitstreamVera 0.1.1 2017-02-01 [?] CRAN (R 4.3.1)
P fontLiberation 0.1.0 2016-10-15 [?] CRAN (R 4.3.1)
P fontquiver 0.2.1 2017-02-01 [?] CRAN (R 4.3.2)
P forcats * 1.0.0 2023-01-29 [?] CRAN (R 4.3.2)
P foreach 1.5.2 2022-02-02 [?] CRAN (R 4.3.2)
P fs 1.6.3 2023-07-20 [?] CRAN (R 4.3.2)
P fst * 0.9.8 2022-02-08 [?] CRAN (R 4.3.2)
P fstcore 0.9.14 2023-01-12 [?] CRAN (R 4.3.2)
P furrr * 0.3.1 2022-08-15 [?] CRAN (R 4.3.2)
P future * 1.33.0 2023-07-01 [?] CRAN (R 4.3.2)
P future.apply 1.11.0 2023-05-21 [?] CRAN (R 4.3.2)
P gdtools 0.3.3 2023-03-27 [?] CRAN (R 4.3.1)
P generics 0.1.3 2022-07-05 [?] CRAN (R 4.3.2)
P gfonts 0.2.0 2023-01-08 [?] CRAN (R 4.3.2)
P ggfortify * 0.4.16 2023-03-20 [?] CRAN (R 4.3.2)
P ggplot2 * 3.4.4 2023-10-12 [?] CRAN (R 4.3.2)
P ggrepel * 0.9.3 2023-02-03 [?] CRAN (R 4.3.1)
P globals 0.16.2 2022-11-21 [?] CRAN (R 4.3.1)
P glue 1.6.2 2022-02-24 [?] CRAN (R 4.3.2)
P gower 1.0.1 2022-12-22 [?] CRAN (R 4.3.1)
P GPfit 1.0-8 2019-02-08 [?] CRAN (R 4.3.2)
P gridExtra * 2.3 2017-09-09 [?] CRAN (R 4.3.2)
P gtable 0.3.3 2023-03-21 [?] CRAN (R 4.3.1)
P hardhat 1.3.0 2023-03-30 [?] CRAN (R 4.3.2)
P haven * 2.5.3 2023-06-30 [?] CRAN (R 4.3.2)
P highr 0.10 2022-12-22 [?] CRAN (R 4.3.2)
P hms 1.1.3 2023-03-21 [?] CRAN (R 4.3.2)
P htmltools 0.5.5 2023-03-23 [?] CRAN (R 4.3.1)
P htmlwidgets 1.6.2 2023-03-17 [?] CRAN (R 4.3.1)
P httpcode 0.3.0 2020-04-10 [?] CRAN (R 4.3.2)
P httpuv 1.6.14 2024-01-26 [?] CRAN (R 4.3.2)
P httr * 1.4.6 2023-05-08 [?] CRAN (R 4.3.1)
insight * 0.19.10 2024-04-15 [1] https://easystats.r-universe.dev (R 4.3.3)
P ipred 0.9-14 2023-03-09 [?] CRAN (R 4.3.2)
P iterators 1.0.14 2022-02-05 [?] CRAN (R 4.3.2)
P janitor * 2.2.0 2023-02-02 [?] CRAN (R 4.3.2)
P jquerylib 0.1.4 2021-04-26 [?] CRAN (R 4.3.2)
P jsonlite 1.8.8 2023-12-04 [?] RSPM (R 4.3.0)
P knitr 1.43 2023-05-25 [?] CRAN (R 4.3.1)
P labeling 0.4.2 2020-10-20 [?] CRAN (R 4.3.1)
P later 1.3.1 2023-05-02 [?] CRAN (R 4.3.2)
P lattice * 0.21-8 2023-04-05 [?] CRAN (R 4.3.1)
P lava 1.7.2.1 2023-02-27 [?] CRAN (R 4.3.1)
P lhs 1.1.6 2022-12-17 [?] CRAN (R 4.3.2)
P lifecycle 1.0.3 2022-10-07 [?] CRAN (R 4.3.1)
P listenv 0.9.0 2022-12-16 [?] CRAN (R 4.3.2)
P lubridate * 1.9.2 2023-02-10 [?] CRAN (R 4.3.1)
P magrittr 2.0.3 2022-03-30 [?] CRAN (R 4.3.2)
P MASS * 7.3-60 2023-05-04 [?] CRAN (R 4.3.1)
P Matrix 1.6-0 2023-07-08 [?] CRAN (R 4.3.1)
P memoise 2.0.1 2021-11-26 [?] CRAN (R 4.3.2)
P mgcv 1.9-0 2023-07-11 [?] CRAN (R 4.3.2)
P mime 0.12 2021-09-28 [?] CRAN (R 4.3.1)
P miniUI 0.1.1.1 2018-05-18 [?] CRAN (R 4.3.2)
modelbased * 0.8.7 2024-04-03 [1] https://easystats.r-universe.dev (R 4.3.3)
P ModelMetrics 1.2.2.2 2020-03-17 [?] CRAN (R 4.3.2)
P modelsummary * 2.0.0 2024-03-31 [?] CRAN (R 4.3.3)
P multcomp 1.4-25 2023-06-20 [?] CRAN (R 4.3.2)
P munsell 0.5.0 2018-06-12 [?] CRAN (R 4.3.2)
P mvtnorm 1.2-2 2023-06-08 [?] CRAN (R 4.3.1)
P nlme 3.1-162 2023-01-31 [?] CRAN (R 4.3.1)
P nnet 7.3-19 2023-05-03 [?] CRAN (R 4.3.1)
P officer * 0.6.2 2023-03-28 [?] CRAN (R 4.3.1)
P opdisDownsampling 1.0.1 2024-04-15 [?] CRAN (R 4.3.3)
P openssl 2.1.0 2023-07-15 [?] CRAN (R 4.3.1)
P openxlsx * 4.2.5.2 2023-02-06 [?] CRAN (R 4.3.2)
P pander 0.6.5 2022-03-18 [?] CRAN (R 4.3.2)
P parallelly 1.36.0 2023-05-26 [?] CRAN (R 4.3.1)
parameters * 0.21.6.3 2024-04-10 [1] https://easystats.r-universe.dev (R 4.3.3)
P parsnip * 1.2.0 2024-02-16 [?] CRAN (R 4.3.2)
P patchwork 1.1.3 2023-08-14 [?] CRAN (R 4.3.1)
P pbmcapply 1.5.1 2022-04-28 [?] CRAN (R 4.3.1)
P performance * 0.10.8 2023-10-30 [?] CRAN (R 4.3.1)
P pillar 1.9.0 2023-03-22 [?] CRAN (R 4.3.2)
P pkgbuild 1.4.3 2023-12-10 [?] CRAN (R 4.3.2)
P pkgconfig 2.0.3 2019-09-22 [?] CRAN (R 4.3.2)
P pkgload 1.3.2.1 2023-07-08 [?] CRAN (R 4.3.1)
P plyr 1.8.8 2022-11-11 [?] CRAN (R 4.3.1)
P pracma 2.4.4 2023-11-10 [?] CRAN (R 4.3.3)
P pROC 1.18.4 2023-07-06 [?] CRAN (R 4.3.1)
P prodlim 2023.03.31 2023-04-02 [?] CRAN (R 4.3.1)
P profvis 0.3.8 2023-05-02 [?] CRAN (R 4.3.2)
P promises 1.2.0.1 2021-02-11 [?] CRAN (R 4.3.1)
P purrr * 1.0.1 2023-01-10 [?] CRAN (R 4.3.1)
P qqconf 1.3.2 2023-04-14 [?] CRAN (R 4.3.3)
P qqplotr 0.0.6 2023-01-25 [?] CRAN (R 4.3.3)
P R6 2.5.1 2021-08-19 [?] CRAN (R 4.3.2)
P ragg 1.2.5 2023-01-12 [?] CRAN (R 4.3.1)
P rappdirs 0.3.3 2021-01-31 [?] CRAN (R 4.3.2)
P Rcpp 1.0.11 2023-07-06 [?] CRAN (R 4.3.2)
P readr * 2.1.4 2023-02-10 [?] CRAN (R 4.3.2)
P readxl * 1.4.3 2023-07-06 [?] CRAN (R 4.3.2)
P recipes * 1.0.10 2024-02-18 [?] CRAN (R 4.3.2)
P remotes 2.4.2.1 2023-07-18 [?] CRAN (R 4.3.2)
renv 1.0.0 2023-07-07 [1] CRAN (R 4.3.1)
report * 0.5.8.2 2024-04-01 [1] https://easystats.r-universe.dev (R 4.3.3)
P reshape2 1.4.4 2020-04-09 [?] CRAN (R 4.3.2)
P rlang 1.1.1 2023-04-28 [?] CRAN (R 4.3.1)
P rmarkdown 2.23 2023-07-01 [?] CRAN (R 4.3.1)
P robustbase 0.99-0 2023-06-16 [?] CRAN (R 4.3.2)
P rpart 4.1.19 2022-10-21 [?] CRAN (R 4.3.1)
P rsample * 1.2.0 2023-08-23 [?] CRAN (R 4.3.2)
P rstudio.prefs 0.1.9 2022-07-16 [?] CRAN (R 4.3.2)
P rstudioapi 0.13 2020-11-12 [?] CRAN (R 4.3.1)
P rvest * 1.0.3 2022-08-19 [?] CRAN (R 4.3.2)
P sandwich 3.0-2 2022-06-15 [?] CRAN (R 4.3.2)
P sass 0.4.7 2023-07-15 [?] CRAN (R 4.3.2)
P scales 1.3.0 2023-11-28 [?] CRAN (R 4.3.2)
P see * 0.8.0 2023-06-05 [?] CRAN (R 4.3.1)
P sessioninfo 1.2.2 2021-12-06 [?] CRAN (R 4.3.2)
P shiny 1.7.4.1 2023-07-06 [?] CRAN (R 4.3.1)
P slackr * 3.3.1 2023-02-26 [?] CRAN (R 4.3.2)
P snakecase 0.11.0 2019-05-25 [?] CRAN (R 4.3.1)
P sp * 2.0-0 2023-06-22 [?] CRAN (R 4.3.1)
P stargazer * 5.2.3 2022-03-04 [?] CRAN (R 4.3.1)
P stringi 1.7.12 2023-01-11 [?] CRAN (R 4.3.1)
P stringr * 1.5.0 2022-12-02 [?] CRAN (R 4.3.1)
P survival 3.5-5 2023-03-12 [?] CRAN (R 4.3.1)
P systemfonts 1.0.4 2022-02-11 [?] CRAN (R 4.3.1)
P tables 0.9.25 2024-04-13 [?] CRAN (R 4.3.3)
P testthat * 3.1.10 2023-07-06 [?] CRAN (R 4.3.1)
P textshaping 0.3.6 2021-10-13 [?] CRAN (R 4.3.1)
P TH.data 1.1-2 2023-04-17 [?] CRAN (R 4.3.2)
P this.path 2.4.0 2024-02-16 [?] CRAN (R 4.3.2)
P tibble * 3.2.1 2023-03-20 [?] CRAN (R 4.3.2)
P tidyr * 1.3.0 2023-01-24 [?] CRAN (R 4.3.2)
P tidyselect 1.2.0 2022-10-10 [?] CRAN (R 4.3.2)
P timechange 0.2.0 2023-01-11 [?] CRAN (R 4.3.2)
P timeDate 4022.108 2023-01-07 [?] CRAN (R 4.3.2)
P tinytable 0.2.1 2024-03-28 [?] CRAN (R 4.3.3)
P tune * 1.1.2 2023-08-23 [?] CRAN (R 4.3.2)
P twosamples 2.0.1 2023-06-23 [?] CRAN (R 4.3.3)
P tzdb 0.4.0 2023-05-12 [?] CRAN (R 4.3.2)
P urlchecker 1.0.1 2021-11-30 [?] CRAN (R 4.3.2)
P usethis * 2.2.2 2023-07-06 [?] CRAN (R 4.3.2)
P utf8 1.2.3 2023-01-31 [?] CRAN (R 4.3.1)
P uuid 1.1-0 2022-04-19 [?] CRAN (R 4.3.1)
P vctrs 0.6.3 2023-06-14 [?] CRAN (R 4.3.1)
P vroom * 1.6.3 2023-04-28 [?] CRAN (R 4.3.1)
P vusa * 0.0.0.9000 2024-04-15 [?] Github (vusaverse/vusa@fca6198)
P vvauditor * 0.6.0 2024-02-26 [?] CRAN (R 4.3.2)
P vvconverter * 0.5.9 2024-02-13 [?] CRAN (R 4.3.2)
P vvfiller * 0.6.7 2023-01-26 [?] CRAN (R 4.3.2)
P vvmover * 1.6.0 2024-02-26 [?] CRAN (R 4.3.2)
P vvsculptor * 0.4.10 2023-01-30 [?] RSPM (R 4.3.0)
P withr 2.5.0 2022-03-03 [?] CRAN (R 4.3.1)
P workflows * 1.1.3 2023-02-22 [?] CRAN (R 4.3.2)
P workflowsets * 1.0.1 2023-04-06 [?] CRAN (R 4.3.2)
P xfun 0.39 2023-04-20 [?] CRAN (R 4.3.1)
P xml2 1.3.5 2023-07-06 [?] CRAN (R 4.3.2)
P xtable 1.8-4 2019-04-21 [?] CRAN (R 4.3.2)
P yaml 2.3.7 2023-01-23 [?] CRAN (R 4.3.2)
P yardstick 1.2.0 2023-04-21 [?] CRAN (R 4.3.2)
P zip 2.3.0 2023-04-17 [?] CRAN (R 4.3.2)
P zoo 1.8-12 2023-04-13 [?] CRAN (R 4.3.2)
[1] C:/Users/chh230/repositories/sa-scripts/renv/library/R-4.3/x86_64-w64-mingw32
[2] C:/Users/chh230/AppData/Local/R/cache/R/renv/sandbox/R-4.3/x86_64-w64-mingw32/e9e85620
P ── Loaded and on-disk path mismatch.
Yes! After writing the above I check the dependency stream myself and found patchwork.
After updating everything to the latest version it worked. The dependency on patchwork is given at 'suggested' in see, but it doesn't suggest upgrading to the given version when installing via renv or when stuff doesn't work.
Thanks for the debugging tip! And of course for all the open source work. Checking versions etc made me read the changelog so I saw all the continuous improvements you guys are making. Great stuff, thanks!
So updating patchwork helped?
I had the exact same problem, and yes, updating patchwork solved it !