expect: More tests

Description Usage Examples

Description

More tests needed but not in the testthat package.

Usage

1
2
expect_in(element,listOfElements, ...)
expect_class(object,classExpectd, ...)

Examples

1
2
3
4
5
6
7
8
9
# Run
expect_in("a",c("a","b"))
# Not run
expect_in("c",c("a","b"))

# Run
expect_class("a","character")
# Not run
expect_class("a","int")

Blitzy29/R.PersonalTools documentation built on May 6, 2019, 7:57 a.m.