Skip to content

v1.6.0

Choose a tag to compare

@TimTaylor TimTaylor released this 31 Oct 18:22
· 22 commits to main since this release
v1.6.0
b025f59
  • New function new_name() which generates unique names for additional data frame variables (ensuring they are not already present).

  • New assertion functions:

    • assert_character_not_na(), assert_chr_not_na()
    • assert_double_not_na(), assert_dbl_not_na()
    • assert_integer_not_na(), assert_int_not_na()
    • assert_integerish(), assert_whole()
    • assert_scalar_integerish(),
    • assert_logical_not_na(), assert_lgl_not_na()
    • assert_numeric_not_na(), assert_num_not_na()
    • assert_scalar_logical_not_na(), assert_scalar_lgl_not_na()
    • assert_string_not_na()
    • assert_between()
  • Assertions errors are now given the class "ympes-error".

  • breaking change: Assertions no longer use ... to add attributes to the resulting error conditions.