R/0_imports.R

#' @keywords internal
"_PACKAGE"

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

#' @importFrom rlang enquo call2 abort eval_tidy warn new_quosure empty_env
#' @importFrom rlang enquos expr
#' @importFrom purrr map_dfr
#' @importFrom tibble is_tibble as_tibble tibble
#' @importFrom parsnip set_new_model multi_predict update_dot_check show_fit
#' @importFrom parsnip new_model_spec is_varying null_value update_main_parameters
#' @importFrom parsnip check_final_param
#' @importFrom stats predict model.frame model.response setNames
#' @importFrom dials new_quant_param
#' @importFrom tidyr nest
#' @importFrom utils head globalVariables
#' @importFrom dplyr %>% bind_rows bind_cols
#'
#' @export
parsnip::multi_predict

#' @importFrom generics tidy
#' @export
generics::tidy

#' @importFrom generics tunable
#' @export
generics::tunable

#' @importFrom dials mtry_prop
#' @export
dials::mtry_prop

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

utils::globalVariables(
  c(
    ".pred_1", ".pred_2", ".pred_class", ".row_number", "object", "new_data", "name",
    ".pred", "(Intercept)", "committee", "rule", "trials", "terms",
    "column", "conds", "cover", "coverage", "error", "esterr", "estimate", "feature", "hival",
    "less_than", "level", "loval", "num_conditions", "rule_comp", "rule_id", "rule_num",
    "split_id", "split_value", "statistic", "term", "value", "lift", "ok", "trial"
  )
)

Try the rules package in your browser

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

rules documentation built on June 23, 2022, 5:06 p.m.