expect_null_or_s3_class: Expect NULL or class (s3)

Description Usage

View source: R/utilities.R

Description

wraps testthat::expect_type() to run if not NULL

Usage

1
expect_null_or_s3_class(thing, s3class)

GeeHLee/GoogleR documentation built on May 6, 2019, 5:34 p.m.