tests/testthat/test-is.rule.R

test_that('is.rule', {
  expect_true(is.rule(rule(target='target')))
  expect_false(is.rule(list(target='target')))
})

Try the rmake package in your browser

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

rmake documentation built on May 1, 2019, 10:37 p.m.