R/utils.R

Defines functions test_fun is_interactive `%||%`

`%||%` <- function(x, y) if (is.null(x)) y else x

is_interactive <- function() interactive()

test_fun <- function() {
  # used in test-run.R
  "mango"
}
gadenbuie/shrtcts documentation built on Dec. 31, 2022, 6:23 p.m.