diff --git a/R/dotdotdot.R b/R/dotdotdot.R index cbf281fd8..a19d6a6a4 100644 --- a/R/dotdotdot.R +++ b/R/dotdotdot.R @@ -68,8 +68,7 @@ unpack_bool_expr_result = function(...) { if (!is.null(names(l))) { Err_plain( "Detected a named input.", - "This usually means that you've used `=` instead of `==`.", - "Some names seen:", head(names(l)) + "This usually means that you've used `=` instead of `==`." ) } else { l |> diff --git a/R/error__rpolarserr.R b/R/error__rpolarserr.R index 5561cffc5..bbdf7836b 100644 --- a/R/error__rpolarserr.R +++ b/R/error__rpolarserr.R @@ -56,7 +56,7 @@ bad_robj = function(r) { } Err_plain = function(...) { - Err(.pr$Err$new()$plain(paste0(..., collapse = " "))) + Err(.pr$Err$new()$plain(paste(..., collapse = " "))) } # short hand for extracting an error context in unit testing, will raise error if not an RPolarsErr