Description Usage Arguments Details Examples
Returns an error or passed object.
1 2 3 4 5 | expect_none(x)
expect_exped(x)
expect_loged(x)
|
x |
Object checked for |
Passed object x
is checked for expected class.
1 2 3 4 5 | mini_iris <- iris[c(1, 51, 101), ]
expect_none(mini_iris$Sepal.Length)
mini_iris$log_Sepal.Length <- exp(mini_iris$Sepal.Length)
expect_exped(mini_iris$log_Sepal.Length)
## Not run: expect_loged(mini_iris$Sepal.Length)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.