is.empty
to work with vectorized input.%within%
is vectorized.function_test_objects
, which is now exported. is_empty
as an alias for is.empty
.%within%
is exported.1 %is% atomic
).package_exports_checked
now can take a file path as well as a package name.package_exports_checked
, which checks a package for whether all exported functions are checked using checkr (either have zero formals or are wrapped in ensure
blocks).any
(e.g., 1 %is% any
) that will always be TRUE
. This is useful to be explicit that your function can take any input.NULL
to work as a result of the function in ensure
or quickcheck
.%within%
as a helper to test membership within a numeric boundary.validations
package.%does_not_contain%
as a validator.%is%
, %contains%
, etc.testthat = FALSE
missing
and present
.present
to check for the presence of arguments.random_string
preconditions to not allow length >1 length
arguments or alphabets where each letter has more than one character.preconditions
and postconditions
for fetching the conditions of validated functions.validated_function
.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.