dwww Home | Show directory contents | Find package

# order_by() gives useful error messages

    Code
      (expect_error(order_by(mtcars, 10)))
    Output
      <error/rlang_error>
      Error in `order_by()`:
      ! `call` must be a function call, not a double vector.
    Code
      (expect_error(order_by(mtcars, cyl)))
    Output
      <error/rlang_error>
      Error in `order_by()`:
      ! `call` must be a function call, not a symbol.
      i Did you mean `arrange(mtcars, cyl)`?

Generated by dwww version 1.15 on Tue Jun 25 08:44:34 CEST 2024.