emitsWarning: Returns a function that checks whether its _argument_ emits...

Description Usage See Also Examples

View source: R/hamcrest.R

Description

Returns a function that checks whether its argument emits warning(s)

Usage

1

See Also

Examples

1
2
3
4
## Not run: 
assertThat(any(range(2.0,3.0)), emitsWarning())

## End(Not run)

bedatadriven/hamcrest documentation built on Dec. 1, 2019, 1:49 p.m.