tests/testthat/test-loggingsummary1.R

test_that("loggingsummary1", {

  # Data loading
  data(LoggingSimulationOutputs)

  expect_error(loggingsummary1(x = TRUE),
               regexp = "The argument of the 'loggingsummary1' function must be a list")


  rslt <- capture.output(loggingsummary1(LoggingSimulationOutputs))

  })
VincyaneBadouard/LoggingLab documentation built on Oct. 16, 2024, 9:42 p.m.