tests/testthat/test-logging.R

context("logging")

test_that("initializeLogging stops when logDir is invalid", {
  expect_error(initializeLogging(),
               "Required parameter 'logDir' is missing.")
})

Try the MazamaWebUtils package in your browser

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

MazamaWebUtils documentation built on May 2, 2019, 2:41 a.m.