Nothing
Code
assert_includes(c(1, 2, 3), c(4, 5))
Condition
Error:
! 'c(1, 2, 3)' must include 4 and 5
Code
assert_includes(1, c(2, 3))
Condition
Error:
! '1' must include 2 and 3
Code
assert_includes(1, c(1, 3))
Condition
Error:
! '1' must include 3
Code
assert_includes("abc", "def")
Condition
Error:
! '"abc"' must include def
Code
assert_includes(factor(c("a")), "b")
Condition
Error:
! 'factor(c("a"))' must include b
Code
assert_includes(factor(c(1:5)), 6)
Condition
Error:
! 'factor(c(1:5))' must include 6
Code
assert_includes(c(1, 2, 3), c("A"))
Condition
Error:
! 'c(1, 2, 3)' (type: double) must be the same type as c("A") (type: character)
Code
assert_excludes(c(1, 2, 3), c(1, 2))
Condition
Error:
! 'c(1, 2, 3)' must exclude: 1 and 2
Code
assert_excludes(1, c(1, 3))
Condition
Error:
! '1' must exclude: 1
Code
assert_excludes(c(1, 2, 3), "A")
Condition
Error:
! 'c(1, 2, 3)' (type: double) must be the same type as "A" (type: character)
Code
assert_excludes("abc", "abc")
Condition
Error:
! '"abc"' must exclude: abc
Code
assert_excludes(factor(c("a", "b", "c")), "a")
Condition
Error:
! 'factor(c("a", "b", "c"))' must exclude: a
Code
assert_excludes(c(1, 2, 3), c("A"))
Condition
Error:
! 'c(1, 2, 3)' (type: double) must be the same type as c("A") (type: character)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.