assertions (development version)
- Fixed bug where parameter names with triple dot prefix (e.g.
...name) were misclassified asassert_function_variadic(#15)
assertions 0.3.0
CRAN release: 2026-02-13
Added
assert_function_expects()for checking argument names in functionsAdded
assert_function_variadic()for checking whether functions declare...Added
assert_all_strings_contain()andassert_string_contains()for checking character inputs against regular expressionsAdded
assert_all_between()andassert_between()assertionsAdded
assert_all_finite()andassert_finite()for checking numeric inputs have noNA,NaN, or infinite valuesImproved factor support for
assert_includes()andassert_excludes()Improved missing-value errors for numeric comparison assertions (e.g.,
assert_greater_than()withNaN)Improved threshold validation so missing
length,minimum, andmaximumarguments now return informative error messagesImproved
assert_numeric()error messaging for non-numeric matrices/arrays
assertions 0.2.0
CRAN release: 2024-11-19
Improved factor support for
assert_includes()andassert_excludes()Added
assert_connection()Added
assert_set_equal()Added
assert_one_of()Added
assert_scalar()Added missing
assert_less_than()assertions.Added
assert_null()andassert_non_null()Added
assert_length()Improved error messages when
assert_create()arguments are inappropriate
