tests/testthat/test-classLocalSource.R

test_that("multiplication works", {
  expect_no_error(newLocalSource())
  expect_error(newLocalSource("test"))
  expect_error(newLocalSource(c("test", "test2")))
  expect_error(newLocalSource(1))
  expect_error(newLocalSource("test", "x"))
})

Try the omopgenerics package in your browser

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

omopgenerics documentation built on Sept. 30, 2024, 9:16 a.m.