Skip to content

Commit d8feb3f

Browse files
authored
Test failing on CRAN (#440)
* Test failing on CRAN Fixes #439 * fix
1 parent 1580a22 commit d8feb3f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: report
22
Type: Package
33
Title: Automated Reporting of Results and Statistical Models
4-
Version: 0.5.8.4
4+
Version: 0.5.8.5
55
Authors@R:
66
c(person(given = "Dominique",
77
family = "Makowski",

R/report_htest_friedman.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# report_effectsize ---------------------
1010

1111
.report_effectsize_friedman <- function(x, table, dot_args) {
12-
args <- c(list(x, effectsize_type = "kendalls_w"), dot_args)
12+
args <- c(list(x, es_type = "kendalls_w"), dot_args)
1313
table <- do.call(parameters::parameters, args)
1414
ci <- attributes(table)$ci
1515
estimate <- "kendalls_w"

R/report_htest_wilcox.R

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
# report_effectsize ---------------------
1010

1111
.report_effectsize_wilcox <- function(x, table, dot_args) {
12-
args <- c(list(x, rank_biserial = TRUE), dot_args)
13-
table <- do.call(parameters::parameters, args)
12+
my_args <- c(list(x, es_type = "rank_biserial"), dot_args)
13+
table <- do.call(parameters::model_parameters, my_args)
1414
ci <- attributes(table)$ci
1515
estimate <- "r_rank_biserial"
1616

1717
# same as Pearson's r
18-
args <- c(list(table$r_rank_biserial), dot_args)
19-
interpretation <- do.call(effectsize::interpret_r, args)
18+
my_args <- c(list(table$r_rank_biserial), dot_args)
19+
interpretation <- do.call(effectsize::interpret_r, my_args)
2020
rules <- .text_effectsize(attr(attr(interpretation, "rules"), "rule_name"))
2121

2222
main <- paste0("r (rank biserial) = ", insight::format_value(table$r_rank_biserial))
@@ -42,7 +42,7 @@
4242
if ("Parameter1" %in% names(table)) {
4343
vars_full <- paste0(table$Parameter1[[1]], " and ", table$Parameter2[[1]])
4444

45-
text <- paste0(
45+
text_string <- paste0(
4646
trimws(x$method),
4747
" testing the difference in ranks between ",
4848
vars_full
@@ -51,13 +51,13 @@
5151
# one-sample
5252
vars_full <- paste0(table$Parameter[[1]])
5353

54-
text <- paste0(
54+
text_string <- paste0(
5555
trimws(x$method),
5656
" testing the difference in rank for ",
5757
vars_full,
5858
" and true location of 0"
5959
)
6060
}
6161

62-
text
62+
text_string
6363
}

0 commit comments

Comments
 (0)