-
assert_that()
no longer throws a fatal error on very long custom expressions (@jameslamb, #45) -
has_name()
now always returns a singleTRUE
/FALSE
, even if you use it to check multiple names (@jameslamb, #60) -
is.count()
returnsFALSE
forNA_real_
,NaN
andNA_integer_
.is.integerish()
returnsFALSE
forNA_real_
andNaN
(@drkarthi, #54) -
is.count()
,is.flag()
,is.number()
, andis.scalar()
now have well-defined behavior forInf
,-Inf
, and finite but large numbers (@jameslamb, #47)
-
assert_that()
,see_if()
, andvalidate_that()
get amsg
argument that allows you to provide a custom message (@krlmlr, #6) -
is.named()
returnsTRUE
if an element hasNA
name (#20) -
New tests cover most assertions (@bpbond, #18, #20)
-
Better error message if assertion is length 0 (@paulstaab, #22)