naniar (version 0.4.2)

test_if_shadow: Test if input is a shadow

Description

Test if input is a shadow

Usage

test_if_shadow(x)

Arguments

x

object

Value

an error if input (x) is a shadow

Examples

Run this code
# NOT RUN {
# success
aq_shadow <- bind_shadow(airquality)
test_if_shadow(aq_shadow)
#fail
test_if_shadow(airquality)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab