inst/tinytest/test_gh_issue_148.R

df <- data.frame(rule = c("x>0","x<1"), name=c(NA,"bla"))
expect_equal(names(validator(.data=df)),c("V1","bla"))

Try the validate package in your browser

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

validate documentation built on March 24, 2022, 5:07 p.m.