tests/testthat/test_getData.R

context("getData")

test_that("error thrown", {

    expect_error(getData(1), "Couldn't find object's data.")
})

Try the simr package in your browser

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

simr documentation built on April 14, 2023, 12:24 a.m.