R/testthat.R

Defines functions using_testthat

Documented in using_testthat

#' @rdname testthat
#' @title Detect testthat
#'
#' @return A logical value
#' @export
#'
#' @examples
#' using_testthat()
using_testthat <- function() {
  using_envvar("TESTTHAT", value = "true")
}

Try the ami package in your browser

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

ami documentation built on April 4, 2025, 2:39 a.m.