Skip to content

Commit 1353df9

Browse files
committed
Tweak key_colnames.epi_df(other_keys =) mismatch error text
1 parent 34acd7e commit 1353df9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

R/key_colnames.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ key_colnames.epi_df <- function(x, ...,
9393
"The provided `other_keys` argument didn't match the `other_keys` of `x`",
9494
"*" = "`other_keys` was {format_chr_with_quotes(other_keys)}",
9595
"*" = "`expected_other_keys` was {format_chr_with_quotes(expected_other_keys)}",
96-
"i" = "If you resolve this discrepancy by adjusting the metadata of `x`, you
97-
shouldn't have to pass `other_keys =` here anymore unless you want to
98-
continue to perform this check."
96+
"i" = "If you know that `x` will always be an `epi_df` and
97+
resolve this discrepancy by adjusting the metadata of `x`, you
98+
shouldn't have to pass `other_keys =` here anymore,
99+
unless you want to continue to perform this check."
99100
), class = "epiprocess__key_colnames__mismatched_other_keys")
100101
}
101102
}

0 commit comments

Comments
 (0)