R/0_imports.R

#' @import rlang
#' @import tune
#' @import cli
#' @importFrom purrr map_lgl
#' @importFrom recipes recipe %>% all_predictors
#' @importFrom dplyr select one_of pull
#' @importFrom utils globalVariables

# ------------------------------------------------------------------------------

utils::globalVariables(
  c(
    # false positives from template code
    "all_nominal_predictors", "all_numeric_predictors", "boost_tree",
    "comments", "linear_reg", "logistic_reg", "multinom_reg", "set_engine",
    "set_mode", "step_dummy", "step_normalize", "step_novel", "step_zv",
    "step_string2factor", "colors", "workflow", "add_model", "add_recipe"
  )
)

Try the usemodels package in your browser

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

usemodels documentation built on March 18, 2022, 5:35 p.m.