Description Usage Arguments Assertions
Assertions for testthat. Not exported and not available.
1 2 3 | is_integer(x)
assert_number_greater(x, n)
|
x |
object to be checked |
n |
|
is_integer checks if a number is an integer
(is_integer(5) returns TRUE)
assert_number_greater checks if x is great than n
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.