From 8f04fe5345f71b95906693554b7a3f34de511ba9 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 3 Dec 2024 12:24:01 +0100 Subject: [PATCH 1/3] Check on dev-versions --- DESCRIPTION | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index e30fe6c0..9200e63d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: report Type: Package Title: Automated Reporting of Results and Statistical Models -Version: 0.5.9 +Version: 0.5.9.1 Authors@R: c(person(given = "Dominique", family = "Makowski", @@ -18,9 +18,9 @@ Authors@R: role = "aut", email = "patilindrajeet.science@gmail.com", comment = c(ORCID = "0000-0003-1995-6531", Twitter = "@patilindrajeets")), - person(given = "Rémi", + person(given = "Rémi", family = "Thériault", - role = c("aut", "cre"), + role = c("aut", "cre"), email = "remi.theriault@mail.mcgill.ca", comment = c(ORCID = "0000-0003-4315-6788", Twitter = "@rempsyc")), person(given = "Mattan S.", @@ -154,4 +154,4 @@ Collate: 'utils_misspelled_variables.R' 'zzz.R' Roxygen: list(markdown = TRUE) -Remotes: easystats/insight +Remotes: easystats/datawizard, easystats/parameters, easystats/performance, easystats/see, easystats/bayestestR From 68058f56a7803efdea4433884d337d77a004875f Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 3 Dec 2024 14:27:48 +0100 Subject: [PATCH 2/3] update data_rename-args --- R/report_htest_chi2.R | 4 ++-- R/report_htest_fisher.R | 4 ++-- R/report_htest_ttest.R | 4 ++-- R/report_sample.R | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/R/report_htest_chi2.R b/R/report_htest_chi2.R index e051f001..2962fc0a 100644 --- a/R/report_htest_chi2.R +++ b/R/report_htest_chi2.R @@ -47,8 +47,8 @@ table <- datawizard::data_rename( as.data.frame(table), - c("CI_low", "CI_high"), - paste0(estimate, c("_CI_low", "_CI_high")) + select = c("CI_low", "CI_high"), + replacement = paste0(estimate, c("_CI_low", "_CI_high")) ) table <- table[c(estimate, paste0(estimate, c("_CI_low", "_CI_high")))] diff --git a/R/report_htest_fisher.R b/R/report_htest_fisher.R index b8e5da98..6dc9e514 100644 --- a/R/report_htest_fisher.R +++ b/R/report_htest_fisher.R @@ -40,8 +40,8 @@ table <- datawizard::data_rename( as.data.frame(table), - c("CI_low", "CI_high"), - paste0(estimate, c("_CI_low", "_CI_high")) + select = c("CI_low", "CI_high"), + replacement = paste0(estimate, c("_CI_low", "_CI_high")) ) table <- table[c(estimate, paste0(estimate, c("_CI_low", "_CI_high")))] diff --git a/R/report_htest_ttest.R b/R/report_htest_ttest.R index af74eab3..e3fe9a23 100644 --- a/R/report_htest_ttest.R +++ b/R/report_htest_ttest.R @@ -70,8 +70,8 @@ table <- datawizard::data_rename( as.data.frame(table), - c("CI_low", "CI_high"), - paste0(estimate, c("_CI_low", "_CI_high")) + select = c("CI_low", "CI_high"), + replacement = paste0(estimate, c("_CI_low", "_CI_high")) ) table <- table[c(estimate, paste0(estimate, c("_CI_low", "_CI_high")))] diff --git a/R/report_sample.R b/R/report_sample.R index 83b95115..0c7986c3 100644 --- a/R/report_sample.R +++ b/R/report_sample.R @@ -187,7 +187,7 @@ report_sample <- function(data, new_column = ".new_names", separator = ", " )[[".new_names"]] - result <- datawizard::data_rename(result, pattern = old_names, replacement = new_names) + result <- datawizard::data_rename(result, select = old_names, replacement = new_names) } # remember values of first columns variable <- result[[1]]["Variable"] From f98b188a84ab4b64d8a430106da99c970fb13de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Th=C3=A9riault?= <13123390+rempsyc@users.noreply.github.com> Date: Thu, 12 Dec 2024 20:09:06 -0500 Subject: [PATCH 3/3] add newline at end of file --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index e032ebfb..924ce62d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -154,4 +154,4 @@ Collate: 'utils_misspelled_variables.R' 'zzz.R' Roxygen: list(markdown = TRUE) -Remotes: easystats/datawizard, easystats/parameters, easystats/performance, easystats/see, easystats/bayestestR \ No newline at end of file +Remotes: easystats/datawizard, easystats/parameters, easystats/performance, easystats/see, easystats/bayestestR