tests/testthat/test-basic.R

context("Basic tests")

test_that("logical tests act as expected", {
  expect_that(TRUE, is_true())
  expect_that(FALSE, is_false())
})

Try the RDataCanvas package in your browser

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

RDataCanvas documentation built on May 2, 2019, 2:10 p.m.