tests/testthat/test-run_all_assertions.R

test_that("Tests if no warnings are found in the main assertion function.", {
  mtcars_test <- return_mtcars_testfile()
  warnings_captured <- capture_warnings(run_all_assertions(mtcars_test, "documentation/"))
  expect_true(length(warnings_captured) == 0)
})

Try the vvauditor package in your browser

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

vvauditor documentation built on Jan. 19, 2026, 5:08 p.m.