inst/tinytest/test-error-handling.R

f <- function(x) rnorm(1, x)
expect_error(dfdr::d(f, "x"), "The function rnorm is not supported")

Try the dfdr package in your browser

Any scripts or data that you put into this service are public.

dfdr documentation built on March 7, 2023, 6:54 p.m.