From 13b6b07031e776a4438414c082b3fec3fd46da1f Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 27 Nov 2024 13:11:28 +0100 Subject: [PATCH] Prepare CRAN release (#1047) * Prepare CRAN release * update deps * Update DESCRIPTION * fix * submit * fix docs ref --- DESCRIPTION | 7 +++---- R/1_model_parameters.R | 9 ++++----- man/model_parameters.Rd | 2 +- man/model_parameters.cgam.Rd | 6 +++--- man/model_parameters.default.Rd | 6 +++--- man/model_parameters.glimML.Rd | 6 +++--- man/model_parameters.glmmTMB.Rd | 6 +++--- man/model_parameters.mlm.Rd | 6 +++--- man/model_parameters.rma.Rd | 6 +++--- man/model_parameters.zcpglm.Rd | 6 +++--- 10 files changed, 29 insertions(+), 31 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 2514c1800..f6a55d14d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: parameters Title: Processing of Model Parameters -Version: 0.23.0.12 +Version: 0.24.0 Authors@R: c(person(given = "Daniel", family = "Lüdecke", @@ -80,7 +80,7 @@ Depends: Imports: bayestestR (>= 0.15.0), datawizard (>= 0.13.0), - insight (>= 0.20.5), + insight (>= 1.0.0), graphics, methods, stats, @@ -155,7 +155,7 @@ Suggests: logspline, lqmm, M3C, - marginaleffects (>= 0.20.1), + marginaleffects (>= 0.20.4), MASS, Matrix, mclogit, @@ -224,4 +224,3 @@ Config/testthat/edition: 3 Config/testthat/parallel: true Config/Needs/website: easystats/easystatstemplate Config/rcmdcheck/ignore-inconsequential-notes: true -Remotes: easystats/insight diff --git a/R/1_model_parameters.R b/R/1_model_parameters.R index 15f5020e1..41c0d073e 100644 --- a/R/1_model_parameters.R +++ b/R/1_model_parameters.R @@ -13,7 +13,7 @@ #' **scam**, **VGAM**, `Gam` (although the output of `Gam` is more Anova-alike), #' `gamm`, ... #' - [ANOVA][model_parameters.aov()]: **afex**, `aov`, `anova`, `Gam`, ... -#' - [Bayesian][model_parameters.stanreg()]: **BayesFactor**, **blavaan**, **brms**, +#' - [Bayesian][model_parameters.brmsfit()]: **BayesFactor**, **blavaan**, **brms**, #' **MCMCglmm**, **posterior**, **rstanarm**, `bayesQR`, `bcplm`, `BGGM`, `blmrm`, #' `blrm`, `mcmc.list`, `MCMCglmm`, ... #' - [Clustering][model_parameters.hclust()]: **hclust**, **kmeans**, **mclust**, **pam**, ... @@ -426,10 +426,9 @@ parameters <- model_parameters #' #' @param model Model object. #' @param ci Confidence Interval (CI) level. Default to `0.95` (`95%`). -#' @param bootstrap Should estimates be based on bootstrapped model? If -#' `TRUE`, then arguments of [Bayesian -#' regressions][model_parameters.stanreg] apply (see also -#' [`bootstrap_parameters()`]). +#' @param bootstrap Should estimates be based on bootstrapped model? If `TRUE`, +#' then arguments of [Bayesian regressions][model_parameters.brmsfit] apply +#' (see also [`bootstrap_parameters()`]). #' @param iterations The number of bootstrap replicates. This only apply in the #' case of bootstrapped frequentist models. #' @param standardize The method used for standardizing the parameters. Can be diff --git a/man/model_parameters.Rd b/man/model_parameters.Rd index 387a1b29c..e63b27c28 100644 --- a/man/model_parameters.Rd +++ b/man/model_parameters.Rd @@ -43,7 +43,7 @@ the model-specific documentation: \strong{scam}, \strong{VGAM}, \code{Gam} (although the output of \code{Gam} is more Anova-alike), \code{gamm}, ... \item \link[=model_parameters.aov]{ANOVA}: \strong{afex}, \code{aov}, \code{anova}, \code{Gam}, ... -\item \link[=model_parameters.stanreg]{Bayesian}: \strong{BayesFactor}, \strong{blavaan}, \strong{brms}, +\item \link[=model_parameters.brmsfit]{Bayesian}: \strong{BayesFactor}, \strong{blavaan}, \strong{brms}, \strong{MCMCglmm}, \strong{posterior}, \strong{rstanarm}, \code{bayesQR}, \code{bcplm}, \code{BGGM}, \code{blmrm}, \code{blrm}, \code{mcmc.list}, \code{MCMCglmm}, ... \item \link[=model_parameters.hclust]{Clustering}: \strong{hclust}, \strong{kmeans}, \strong{mclust}, \strong{pam}, ... diff --git a/man/model_parameters.cgam.Rd b/man/model_parameters.cgam.Rd index d444ecba8..e6c570c8e 100644 --- a/man/model_parameters.cgam.Rd +++ b/man/model_parameters.cgam.Rd @@ -34,9 +34,9 @@ options (which vary depending on the model class): \code{"residual"}, \code{\link[=model_parameters]{model_parameters()}} for further details. When \code{ci_method=NULL}, in most cases \code{"wald"} is used then.} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.default.Rd b/man/model_parameters.default.Rd index 25c595b89..df3d7d934 100644 --- a/man/model_parameters.default.Rd +++ b/man/model_parameters.default.Rd @@ -38,9 +38,9 @@ options (which vary depending on the model class): \code{"residual"}, \code{\link[=model_parameters]{model_parameters()}} for further details. When \code{ci_method=NULL}, in most cases \code{"wald"} is used then.} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.glimML.Rd b/man/model_parameters.glimML.Rd index c5d9c5266..55a3c3e31 100644 --- a/man/model_parameters.glimML.Rd +++ b/man/model_parameters.glimML.Rd @@ -26,9 +26,9 @@ \item{ci}{Confidence Interval (CI) level. Default to \code{0.95} (\verb{95\%}).} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.glmmTMB.Rd b/man/model_parameters.glmmTMB.Rd index ab7482d5d..6f27c63db 100644 --- a/man/model_parameters.glmmTMB.Rd +++ b/man/model_parameters.glmmTMB.Rd @@ -53,9 +53,9 @@ computed by default, for simpler models or fewer observations, confidence intervals will be included. Set explicitly to \code{TRUE} or \code{FALSE} to enforce or omit calculation of confidence intervals.} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.mlm.Rd b/man/model_parameters.mlm.Rd index 2f7f7ec28..eb786f2bc 100644 --- a/man/model_parameters.mlm.Rd +++ b/man/model_parameters.mlm.Rd @@ -54,9 +54,9 @@ arguments. If no estimation type (argument \code{type}) is given, the default type for \code{"HC"} equals the default from the \strong{sandwich} package; for type \code{"CR"}, the default is set to \code{"CR3"}.} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.rma.Rd b/man/model_parameters.rma.Rd index 095a100a0..a24728649 100644 --- a/man/model_parameters.rma.Rd +++ b/man/model_parameters.rma.Rd @@ -23,9 +23,9 @@ \item{ci}{Confidence Interval (CI) level. Default to \code{0.95} (\verb{95\%}).} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.zcpglm.Rd b/man/model_parameters.zcpglm.Rd index d46fe2b74..6b9eddfc9 100644 --- a/man/model_parameters.zcpglm.Rd +++ b/man/model_parameters.zcpglm.Rd @@ -26,9 +26,9 @@ \item{ci}{Confidence Interval (CI) level. Default to \code{0.95} (\verb{95\%}).} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.}