tests/testthat/test_emuR-hooks.R

context("testing that hooks like .onLoad are doing the right stuff")

test_that(".onLoad options are set correctly", {
  expect_equal(getOption("emuR.emuWebApp.dir"), 
               file.path(tempdir(), "EMU-webApp"))
  
})

Try the emuR package in your browser

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

emuR documentation built on May 29, 2024, 2:33 a.m.