tests/testthat/test-function-report_about_r_scripts.R

testthat::skip_on_appveyor()

test_that("report_about_r_scripts() works", {

  f <- kwb.fakin:::report_about_r_scripts

  expect_error(f())

  capture.output(
    result <- f(
      root = system.file("extdata", package = "kwb.fakin"),
      show = FALSE
    )
  )
})
KWB-R/kwb.fakin documentation built on June 14, 2022, 2 p.m.