tests/testthat/testInstallWithDeps/R/hello.R

hello <- function(x) {
  if (!is.character(x)) {
    cli::cli_abort("{.arg x} must be a character string.")
  }
  paste0("Hello, ", x, "!")
}

Try the devtools package in your browser

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

devtools documentation built on April 30, 2026, 9:08 a.m.