Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 7, 2024
1 parent 15017c6 commit 4db72c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/data_xtabulate.R
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ print_html.dw_data_xtabulates <- function(x, big_mark = NULL, ...) {
# to check this, we check whether a weights expression was provided and weights
# is NULL, e.g. "weights = iris$not_found"
if (!is.null(weights_expression) && !identical(weights_expression, "NULL") && is.null(weights)) {
insight::format_error("The variable specified in `weights` was not found in `x`. Possibly misspelled?")
insight::format_error("The variable specified in `weights` was not found. Possibly misspelled?")
}

weights
Expand Down

0 comments on commit 4db72c0

Please sign in to comment.