R/req_pkgs.R

Defines functions req_pkgs

Documented in req_pkgs

#' Determine required packages for a model
#'
#' @description
#' `r lifecycle::badge("deprecated")`
#'
#' @param x A model specification or fit.
#' @param ... Not used.
#' @return A character string of package names (if any).
#' @details
#' This function has been deprecated in favor of `required_pkgs()`.
#'
#' @export
req_pkgs <- function(x, ...) {
  lifecycle::deprecate_stop("0.1.8", "req_pkgs()", "required_pkgs()")
}

Try the parsnip package in your browser

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

parsnip documentation built on Aug. 18, 2023, 1:07 a.m.