# na_if() gives meaningful errors Code (expect_error(na_if(1:3, 1:2))) Output <error/rlang_error> Error in `na_if()`: ! `y` must be length 3 (same as `x`) or one, not 2. Code (expect_error(na_if(1, 1:2))) Output <error/rlang_error> Error in `na_if()`: ! `y` must be length 1 (same as `x`), not 2.
Generated by dwww version 1.15 on Sat May 18 13:10:55 CEST 2024.