tests/test_import/packageToTest/R/get.R

#' Function named get
#'
#' Used to test imports when a function named `get` is before the base package
#' on the search path.
#'
#' @export
get <- function(...) {
  stop("import incorrectly used function `get` exported from package: packageToTest")
}

Try the import package in your browser

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

import documentation built on Sept. 24, 2023, 1:08 a.m.