From a34634e169543900a6ec8e40a88890546279b2f9 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 1 Sep 2024 18:40:05 +0200 Subject: [PATCH 1/3] Prepare CRAN release --- DESCRIPTION | 2 +- R/is_model.R | 5 +- R/is_model_supported.R | 5 +- README.Rmd | 2 +- README.md | 189 +++++++++++++++++++++-------------------- 5 files changed, 103 insertions(+), 100 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 4ebbbaadc..d29e411e0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: insight Title: Easy Access to Model Information for Various Model Objects -Version: 0.20.3.4 +Version: 0.20.4 Authors@R: c(person(given = "Daniel", family = "Lüdecke", diff --git a/R/is_model.R b/R/is_model.R index 891945d4f..4387ea903 100644 --- a/R/is_model.R +++ b/R/is_model.R @@ -71,7 +71,8 @@ is_regression_model <- function(x) { "cch", "censReg", "cgam", "cgamm", "cglm", "clm", "clm2", "clmm", "clmm2", "clogit", "coeftest", "complmrob", "comprisk", "confusionMatrix", "coxme", "coxph", "coxph.penal", "coxr", - "cpglm", "cpglmm", "crch", "crq", "crqs", "crr", "dglm", + "cpglm", "cpglmm", "crch", "crq", "crqs", "crr", "cglm", + "coxph_weightit", # d -------------------- "dep.effect", "deltaMethod", "DirichletRegModel", "drc", @@ -90,7 +91,7 @@ is_regression_model <- function(x) { "glmerMod", "glmlep", "glmm", "glmmadmb", "glmmEP", "glmmFit", "glmmfields", "glmmLasso", "glmmPQL", "glmmTMB", "glmnet", "glmrob", "glmRob", "glmx", "gls", "gmnl", "gmm", "gnls", "gsm", "ggcomparisons", - "glm_weighit", + "glm_weightit", # h -------------------- "heavyLme", "HLfit", "htest", "hurdle", "hglm", diff --git a/R/is_model_supported.R b/R/is_model_supported.R index fbf1c1361..8de9f74d4 100644 --- a/R/is_model_supported.R +++ b/R/is_model_supported.R @@ -57,6 +57,7 @@ supported_models <- function() { "censReg", "cgam", "cgamm", "cglm", "clm", "clm2", "clmm", "clmm2", "clogit", "coeftest", "complmrob", "confusionMatrix", "coxme", "coxph", "coxph.penal", "coxr", "cpglm", "cpglmm", "crch", "crq", "crqs", "crr", + "coxph_weightit", # d ---------------------------- "dep.effect", "DirichletRegModel", "draws", "drc", @@ -71,7 +72,7 @@ supported_models <- function() { "gam", "Gam", "gamlss", "gamm", "gamm4", "garch", "gbm", "gee", "geeglm", "glht", "glimML", "glmm", "glm", "Glm", "glmmadmb", "glmmPQL", "glmmTMB", "glmrob", "glmRob", "glmx", "gls", "gmnl", "glmgee", "ggcomparisons", - "glmerMod", "glm_weighit", + "glmerMod", "glm_weightit", # h ---------------------------- "HLfit", "htest", "hurdle", "hglm", @@ -96,7 +97,7 @@ supported_models <- function() { "negbinmfx", "negbinirr", "nestedLogit", # o ---------------------------- - "ols", "onesampb", "orm", "ordinal_weighit", + "ols", "onesampb", "orm", "ordinal_weightit", # p ---------------------------- "PMCMR", "poissonmfx", "poissonirr", "pgmm", "plm", "polr", "psm", diff --git a/README.Rmd b/README.Rmd index 3433c0823..61d5743b1 100644 --- a/README.Rmd +++ b/README.Rmd @@ -182,7 +182,7 @@ In case you want to file an issue or contribute in another way to the package, p ## List of Supported Models by Class -Currently, `r length(supported_models())` model classes are supported. +Currently, about `r length(supported_models())` model classes are supported. ```{r, warning=FALSE, message=FALSE, eval=TRUE} supported_models() diff --git a/README.md b/README.md index d8bd3aab4..b09769be6 100644 --- a/README.md +++ b/README.md @@ -281,7 +281,7 @@ email or also file an issue. ## List of Supported Models by Class -Currently, 234 model classes are supported. +Currently, about 235 model classes are supported. ``` r supported_models() @@ -309,99 +309,100 @@ supported_models() #> [43] "coeftest" "complmrob" #> [45] "confusionMatrix" "coxme" #> [47] "coxph" "coxph.penal" -#> [49] "coxr" "cpglm" -#> [51] "cpglmm" "crch" -#> [53] "crq" "crqs" -#> [55] "crr" "dep.effect" -#> [57] "DirichletRegModel" "draws" -#> [59] "drc" "eglm" -#> [61] "elm" "emmGrid" -#> [63] "epi.2by2" "ergm" -#> [65] "feglm" "feis" -#> [67] "felm" "fitdistr" -#> [69] "fixest" "flac" -#> [71] "flexsurvreg" "flic" -#> [73] "gam" "Gam" -#> [75] "gamlss" "gamm" -#> [77] "gamm4" "garch" -#> [79] "gbm" "gee" -#> [81] "geeglm" "ggcomparisons" -#> [83] "glht" "glimML" -#> [85] "glm" "Glm" -#> [87] "glm_weighit" "glmerMod" -#> [89] "glmgee" "glmm" -#> [91] "glmmadmb" "glmmPQL" -#> [93] "glmmTMB" "glmrob" -#> [95] "glmRob" "glmx" -#> [97] "gls" "gmnl" -#> [99] "hglm" "HLfit" -#> [101] "htest" "hurdle" -#> [103] "iv_robust" "ivFixed" -#> [105] "ivprobit" "ivreg" -#> [107] "lavaan" "lm" -#> [109] "lm_robust" "lme" -#> [111] "lmerMod" "lmerModLmerTest" -#> [113] "lmodel2" "lmrob" -#> [115] "lmRob" "logistf" -#> [117] "logitmfx" "logitor" -#> [119] "logitr" "LORgee" -#> [121] "lqm" "lqmm" -#> [123] "lrm" "manova" -#> [125] "MANOVA" "marginaleffects" -#> [127] "marginaleffects.summary" "margins" -#> [129] "maxLik" "mblogit" -#> [131] "mclogit" "mcmc" -#> [133] "mcmc.list" "MCMCglmm" -#> [135] "mcp1" "mcp12" -#> [137] "mcp2" "med1way" -#> [139] "mediate" "merMod" -#> [141] "merModList" "meta_bma" -#> [143] "meta_fixed" "meta_random" -#> [145] "metaplus" "mhurdle" -#> [147] "mipo" "mira" -#> [149] "mixed" "MixMod" -#> [151] "mixor" "mjoint" -#> [153] "mle" "mle2" -#> [155] "mlm" "mlogit" -#> [157] "mmclogit" "mmlogit" -#> [159] "mmrm" "mmrm_fit" -#> [161] "mmrm_tmb" "model_fit" -#> [163] "multinom" "multinom_weightit" -#> [165] "mvord" "negbinirr" -#> [167] "negbinmfx" "nestedLogit" -#> [169] "ols" "onesampb" -#> [171] "ordinal_weighit" "orm" -#> [173] "pgmm" "phyloglm" -#> [175] "phylolm" "plm" -#> [177] "PMCMR" "poissonirr" -#> [179] "poissonmfx" "polr" -#> [181] "probitmfx" "psm" -#> [183] "Rchoice" "ridgelm" -#> [185] "riskRegression" "rjags" -#> [187] "rlm" "rlmerMod" -#> [189] "RM" "rma" -#> [191] "rma.uni" "robmixglm" -#> [193] "robtab" "rq" -#> [195] "rqs" "rqss" -#> [197] "rvar" "Sarlm" -#> [199] "scam" "selection" -#> [201] "sem" "SemiParBIV" -#> [203] "semLm" "semLme" -#> [205] "serp" "slm" -#> [207] "speedglm" "speedlm" -#> [209] "stanfit" "stanmvreg" -#> [211] "stanreg" "summary.lm" -#> [213] "survfit" "survreg" -#> [215] "svy_vglm" "svy2lme" -#> [217] "svychisq" "svyglm" -#> [219] "svyolr" "t1way" -#> [221] "tobit" "trimcibt" -#> [223] "truncreg" "vgam" -#> [225] "vglm" "wbgee" -#> [227] "wblm" "wbm" -#> [229] "wmcpAKP" "yuen" -#> [231] "yuend" "zcpglm" -#> [233] "zeroinfl" "zerotrunc" +#> [49] "coxph_weightit" "coxr" +#> [51] "cpglm" "cpglmm" +#> [53] "crch" "crq" +#> [55] "crqs" "crr" +#> [57] "dep.effect" "DirichletRegModel" +#> [59] "draws" "drc" +#> [61] "eglm" "elm" +#> [63] "emmGrid" "epi.2by2" +#> [65] "ergm" "feglm" +#> [67] "feis" "felm" +#> [69] "fitdistr" "fixest" +#> [71] "flac" "flexsurvreg" +#> [73] "flic" "gam" +#> [75] "Gam" "gamlss" +#> [77] "gamm" "gamm4" +#> [79] "garch" "gbm" +#> [81] "gee" "geeglm" +#> [83] "ggcomparisons" "glht" +#> [85] "glimML" "glm" +#> [87] "Glm" "glm_weightit" +#> [89] "glmerMod" "glmgee" +#> [91] "glmm" "glmmadmb" +#> [93] "glmmPQL" "glmmTMB" +#> [95] "glmrob" "glmRob" +#> [97] "glmx" "gls" +#> [99] "gmnl" "hglm" +#> [101] "HLfit" "htest" +#> [103] "hurdle" "iv_robust" +#> [105] "ivFixed" "ivprobit" +#> [107] "ivreg" "lavaan" +#> [109] "lm" "lm_robust" +#> [111] "lme" "lmerMod" +#> [113] "lmerModLmerTest" "lmodel2" +#> [115] "lmrob" "lmRob" +#> [117] "logistf" "logitmfx" +#> [119] "logitor" "logitr" +#> [121] "LORgee" "lqm" +#> [123] "lqmm" "lrm" +#> [125] "manova" "MANOVA" +#> [127] "marginaleffects" "marginaleffects.summary" +#> [129] "margins" "maxLik" +#> [131] "mblogit" "mclogit" +#> [133] "mcmc" "mcmc.list" +#> [135] "MCMCglmm" "mcp1" +#> [137] "mcp12" "mcp2" +#> [139] "med1way" "mediate" +#> [141] "merMod" "merModList" +#> [143] "meta_bma" "meta_fixed" +#> [145] "meta_random" "metaplus" +#> [147] "mhurdle" "mipo" +#> [149] "mira" "mixed" +#> [151] "MixMod" "mixor" +#> [153] "mjoint" "mle" +#> [155] "mle2" "mlm" +#> [157] "mlogit" "mmclogit" +#> [159] "mmlogit" "mmrm" +#> [161] "mmrm_fit" "mmrm_tmb" +#> [163] "model_fit" "multinom" +#> [165] "multinom_weightit" "mvord" +#> [167] "negbinirr" "negbinmfx" +#> [169] "nestedLogit" "ols" +#> [171] "onesampb" "ordinal_weightit" +#> [173] "orm" "pgmm" +#> [175] "phyloglm" "phylolm" +#> [177] "plm" "PMCMR" +#> [179] "poissonirr" "poissonmfx" +#> [181] "polr" "probitmfx" +#> [183] "psm" "Rchoice" +#> [185] "ridgelm" "riskRegression" +#> [187] "rjags" "rlm" +#> [189] "rlmerMod" "RM" +#> [191] "rma" "rma.uni" +#> [193] "robmixglm" "robtab" +#> [195] "rq" "rqs" +#> [197] "rqss" "rvar" +#> [199] "Sarlm" "scam" +#> [201] "selection" "sem" +#> [203] "SemiParBIV" "semLm" +#> [205] "semLme" "serp" +#> [207] "slm" "speedglm" +#> [209] "speedlm" "stanfit" +#> [211] "stanmvreg" "stanreg" +#> [213] "summary.lm" "survfit" +#> [215] "survreg" "svy_vglm" +#> [217] "svy2lme" "svychisq" +#> [219] "svyglm" "svyolr" +#> [221] "t1way" "tobit" +#> [223] "trimcibt" "truncreg" +#> [225] "vgam" "vglm" +#> [227] "wbgee" "wblm" +#> [229] "wbm" "wmcpAKP" +#> [231] "yuen" "yuend" +#> [233] "zcpglm" "zeroinfl" +#> [235] "zerotrunc" ``` - **Didn’t find a model?** [File an From a65ee29f49a572e55c2ce59005c6acb588d83219 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 1 Sep 2024 19:53:59 +0200 Subject: [PATCH 2/3] cran comments --- cran-comments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cran-comments.md b/cran-comments.md index 127ca3820..6ec5358f5 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1 +1 @@ -Maintainance release. +Release that fixes a critical bug. Furthermore, recent changes in this package are required for other packages that need updates on CRAN, hence, package 'insight' must be submitted first. From 9ff76fa09a2f4956ea8d82d4379833e51b4f9463 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 1 Sep 2024 19:56:04 +0200 Subject: [PATCH 3/3] submitted --- CRAN-SUBMISSION | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index ccca724fc..7a19e776e 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.20.2 -Date: 2024-07-13 14:49:57 UTC -SHA: 37daa8e0de05efc3991dee23a895598725cbff3e +Version: 0.20.4 +Date: 2024-09-01 17:55:50 UTC +SHA: a65ee29f49a572e55c2ce59005c6acb588d83219