tests/testthat/examples/testpkg.altdoc/R/examplesIf_false.R

#' Examples If FALSE
#'
#' @param x A parameter
#'
#' @return Some value
#' @export
#'
#' @examplesIf 2 + 2 == 5
#' examplesIf_false()
examplesIf_false <- function() {
  print("Hello, world!")
}

Try the altdoc package in your browser

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

altdoc documentation built on April 3, 2025, 10:52 p.m.