Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: parameters
Title: Processing of Model Parameters
Version: 0.29.2.5
Version: 0.29.2.6
Authors@R:
c(person(given = "Daniel",
family = "Lüdecke",
Expand Down
1 change: 1 addition & 0 deletions R/1_model_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,7 @@ model_parameters.default <- function(
p_adjust = p_adjust,
include_info = include_info,
effects = effects,
vcov = vcov,
verbose = verbose,
...
)
Expand Down
1 change: 1 addition & 0 deletions R/methods_coxme.R
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ model_parameters.coxme <- function(
group_level = group_level,
effects = effects,
wb_component = wb_component,
vcov = vcov,
...
)

Expand Down
1 change: 1 addition & 0 deletions R/methods_glmmTMB.R
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@
include_info = include_info,
wb_component = wb_component,
modelinfo = modelinfo,
vcov = vcov,
...
)

Expand Down Expand Up @@ -596,7 +597,7 @@

if (effects == "random") {
.se_random_effects_glmmTMB(model)
} else if (!is.null(vcov)) {

Check warning on line 600 in R/methods_glmmTMB.R

View workflow job for this annotation

GitHub Actions / lint-changed-files / lint-changed-files

file=R/methods_glmmTMB.R,line=600,col=14,[if_not_else_linter] Prefer `if (A) x else y` to the less-readable `if (!A) y else x` in a simple if/else statement.
.se_robust_glmmTMB(model, component, vcov, vcov_args, verbose, ...)
} else {
.se_fixed_effects_glmmTMB(model, component, method, verbose)
Expand Down Expand Up @@ -644,7 +645,7 @@
.se_robust_glmmTMB <- function(
model,
component = "all",
vcov,

Check warning on line 648 in R/methods_glmmTMB.R

View workflow job for this annotation

GitHub Actions / lint-changed-files / lint-changed-files

file=R/methods_glmmTMB.R,line=648,col=3,[function_argument_linter] Arguments without defaults should come before arguments with defaults.
vcov_args = NULL,
verbose = TRUE,
...
Expand Down
3 changes: 2 additions & 1 deletion R/utils_model_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#'
#' @keywords internal
#' @noRd
.add_model_parameters_attributes <- function(

Check warning on line 7 in R/utils_model_parameters.R

View workflow job for this annotation

GitHub Actions / lint-changed-files / lint-changed-files

file=R/utils_model_parameters.R,line=7,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this expression from 46 to at most 40. Consider replacing high-complexity sections like loops and branches with helper functions.
params,
model,
ci,
Expand Down Expand Up @@ -77,7 +77,8 @@
attr(params, "bootstrap") <- bootstrap
attr(params, "iterations") <- iterations
attr(params, "p_adjust") <- p_adjust
attr(params, "robust_vcov") <- "vcov" %in% names(list(...))
attr(params, "robust_vcov") <- "vcov" %in% names(dot.arguments)
attr(params, "robust_vcov_type") <- dot.arguments$vcov
attr(params, "ignore_group") <- isFALSE(group_level)
attr(params, "ran_pars") <- isFALSE(group_level)
# some methods resolve the "grouplevel" alias into effects = "random" plus
Expand Down
Loading