assert_that()
no longer throws a fatal error on very long custom
expressions (@jameslamb, #45)
has_name()
now always returns a single TRUE
/FALSE
, even if you use it
to check multiple names (@jameslamb, #60)
is.count()
returns FALSE
for NA_real_
, NaN
and NA_integer_
.
is.integerish()
returns FALSE
for NA_real_
and NaN
(@drkarthi, #54)
is.count()
, is.flag()
, is.number()
, and is.scalar()
now have
well-defined behavior for Inf
, -Inf
, and finite but large numbers
(@jameslamb, #47)
assert_that()
, see_if()
, and validate_that()
get a msg
argument
that allows you to provide a custom message (@krlmlr, #6)
is.named()
returns TRUE
if an element has NA
name (#20)
New tests cover most assertions (@bpbond, #18, #20)
Better error message if assertion is length 0 (@paulstaab, #22)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.