tests/testthat/helper_general.R

expect_equivalent = function(...) {
    testthat::expect_equal(..., ignore_attr = TRUE)
}

expect_no_error = function(...) {
    testthat::expect_error(..., regexp = NA)
}

expect_no_warning = function(...) {
    testthat::expect_warning(..., regexp = NA)
}

if (FALSE) {
    # This is a dummy code block to ensure that packages are added
    # to the DESCRIPTION file using attachment::att_amend_desc().
    require(visNetwork)
}

Try the pipeflow package in your browser

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

pipeflow documentation built on April 3, 2025, 10:50 p.m.