diff --git a/R/sparsevctrs.R b/R/sparsevctrs.R index d09416ba3..9b1452ad2 100644 --- a/R/sparsevctrs.R +++ b/R/sparsevctrs.R @@ -18,7 +18,7 @@ is_sparse_tibble <- function(x) { } materialize_sparse_tibble <- function(x, object, input) { - if ((!allow_sparse(object)) && is_sparse_tibble(x)) { + if (is_sparse_tibble(x) && (!allow_sparse(object))) { cli::cli_warn( "{.arg {input}} is a sparse tibble, but {.fn {class(object)[1]}} with engine {.code {object$engine}} doesn't accept that. Converting to