Skip to content

Commit

Permalink
Tweak key_colnames.epi_df(other_keys =) mismatch error text
Browse files Browse the repository at this point in the history
  • Loading branch information
brookslogan committed Oct 22, 2024
1 parent 34acd7e commit 1353df9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions R/key_colnames.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ key_colnames.epi_df <- function(x, ...,
"The provided `other_keys` argument didn't match the `other_keys` of `x`",
"*" = "`other_keys` was {format_chr_with_quotes(other_keys)}",
"*" = "`expected_other_keys` was {format_chr_with_quotes(expected_other_keys)}",
"i" = "If you resolve this discrepancy by adjusting the metadata of `x`, you
shouldn't have to pass `other_keys =` here anymore unless you want to
continue to perform this check."
"i" = "If you know that `x` will always be an `epi_df` and
resolve this discrepancy by adjusting the metadata of `x`, you
shouldn't have to pass `other_keys =` here anymore,
unless you want to continue to perform this check."
), class = "epiprocess__key_colnames__mismatched_other_keys")
}
}
Expand Down

0 comments on commit 1353df9

Please sign in to comment.