R/mocks.R

Defines functions test_file_exists is_interactive cli_abort

# See `?testthat::local_mocked_bindings`` for more information.

cli_abort <- function(...) cli::cli_abort(...)

is_interactive <- function(...) interactive()

test_file_exists <- function(...) checkmate::test_file_exists(...)

Try the brandr package in your browser

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

brandr documentation built on April 4, 2025, 5:30 a.m.