inst/tinytest/test_gh_issue_109.R

rulefile <- tempfile(fileext=".R")


writeLines("rules:\n-\n  expr:\n  name:", con=rulefile)

expect_warning(validator(.file = rulefile))

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.