dwww Home | Show directory contents | Find package

# combine() is deprecated

    Code
      combine()
    Condition
      Warning:
      `combine()` was deprecated in dplyr 1.0.0.
      Please use `vctrs::vec_c()` instead.
    Output
      logical(0)

# combine() gives meaningful error messages

    Code
      (expect_error(combine("a", 1)))
    Output
      <error/vctrs_error_incompatible_type>
      Error in `combine()`:
      ! Can't combine `..1` <character> and `..2` <double>.
    Code
      (expect_error(combine(factor("a"), 1L)))
    Output
      <error/vctrs_error_incompatible_type>
      Error in `combine()`:
      ! Can't combine `..1` <factor<4d52a>> and `..2` <integer>.

Generated by dwww version 1.15 on Fri May 24 05:43:43 CEST 2024.