tests/testthat/test-Example.R

test_that("This is just an example test which should not fail!", {
  set.seed(1242)
  x <- iris[1,1]
  expect_equal(x, 5.1, tolerance = 0.00001)
})

Try the rgenoud package in your browser

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

rgenoud documentation built on Sept. 11, 2024, 9:17 p.m.