R/my-errors.R

Defines functions new_no_package_error

new_no_package_error <- function(...) {
  cnd <- new_error(...)
  class(cnd) <- c("package_not_found_error", class(cnd))
  cnd
}
r-hub/pkgsearch documentation built on Sept. 28, 2024, 10:55 p.m.