Skip to content

Commit 2dbf06c

Browse files
authored
Merge pull request #212 from Lextuga007/small-edits
Small edits on messages
2 parents 15a06c0 + dbf40d8 commit 2dbf06c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/compare.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ consensus_on_mismatch <- function(ses_join, table_df, var_int,
5959
if (ses_join$domain_code_ses1[var_int]
6060
!= ses_join$domain_code_ses2[var_int]) {
6161
cat("\n\n")
62-
cli_alert_warning("Mismatch found, provide concensus decision below.")
62+
cli_alert_warning("Mismatch found, provide consensus decision below.")
6363
cli_alert_warning(paste("\nDOMAIN CODE (note) for session 1 --> ",
6464
ses_join$domain_code_ses1[var_int],
6565
"(", ses_join$note_ses1[var_int], ")"))

tests/testthat/test-data_load.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ test_that("data_load errors when look_up_file has incorrect column names", {
113113
"look_up file does not have expected column names")
114114
})
115115

116-
test_that("data_load gives warning when look_up and domain_file mistmatch", {
116+
test_that("data_load gives warning when look_up and domain_file mismatch", {
117117
look_up_temp2 <- look_up
118118
look_up_row <- data.frame(Variable = "test", Domain_Name = "test")
119119
look_up_temp2 <- rbind(look_up_temp2, look_up_row)

0 commit comments

Comments
 (0)