|
| 1 | +#' parsnip |
| 2 | +#' |
| 3 | +#' The goal of parsnip is to provide a tidy, unified interface to models that |
| 4 | +#' can be used to try a range of models without getting bogged down in the |
| 5 | +#' syntactical minutiae of the underlying packages. |
| 6 | +#' |
| 7 | +#' @keywords internal |
| 8 | +"_PACKAGE" |
| 9 | + |
| 10 | +## usethis namespace: start |
| 11 | +#' @importFrom dplyr arrange bind_cols bind_rows collect full_join group_by |
| 12 | +#' @importFrom dplyr mutate pull rename select starts_with summarise tally |
| 13 | +#' @importFrom generics varying_args |
| 14 | +#' @importFrom glue glue_collapse |
| 15 | +#' @importFrom purrr as_vector imap imap_lgl map map_chr map_dbl map_df map_dfr |
| 16 | +#' @importFrom purrr map_lgl %||% |
| 17 | +#' @importFrom rlang abort call2 caller_env current_env enquo enquos eval_tidy |
| 18 | +#' @importFrom rlang expr get_expr is_empty is_missing is_null is_quosure |
| 19 | +#' @importFrom rlang is_symbolic lgl missing_arg quo_get_expr quos sym syms |
| 20 | +#' @importFrom stats .checkMFClasses .getXlevels as.formula binomial coef |
| 21 | +#' @importFrom stats delete.response model.frame model.matrix model.offset |
| 22 | +#' @importFrom stats model.response model.weights na.omit na.pass predict qnorm |
| 23 | +#' @importFrom stats qt quantile setNames terms update |
| 24 | +#' @importFrom tibble as_tibble is_tibble tibble type_sum |
| 25 | +#' @importFrom tidyr gather |
| 26 | +#' @importFrom utils capture.output getFromNamespace globalVariables head |
| 27 | +#' @importFrom utils methods stack |
| 28 | +#' @importFrom vctrs vec_size vec_unique |
| 29 | +#' @importFrom ggplot2 autoplot |
| 30 | +## usethis namespace: end |
| 31 | +NULL |
| 32 | + |
| 33 | +# nocov start |
| 34 | + |
| 35 | +utils::globalVariables( |
| 36 | + c( |
| 37 | + '.', '.label', '.pred', '.row', 'data', 'engine', 'engine2', 'group', |
| 38 | + 'lab', 'original', 'predicted_label', 'prediction', 'value', 'type', |
| 39 | + "neighbors", ".submodels", "has_submodel", "max_neighbor", "max_penalty", |
| 40 | + "max_terms", "max_tree", "model", "name", "num_terms", "penalty", "trees", |
| 41 | + "sub_neighbors", ".pred_class", "x", "y", "predictor_indicators", |
| 42 | + "compute_intercept", "remove_intercept", "estimate", "term", |
| 43 | + "call_info", "component", "component_id", "func", "tunable", "label", |
| 44 | + "pkg", ".order", "item", "tunable", "has_ext" |
| 45 | + ) |
| 46 | +) |
| 47 | + |
| 48 | +release_bullets <- function() { |
| 49 | + c( |
| 50 | + "Update parsnip add-in information at `inst/add-in/parsnip_model_db.R`", |
| 51 | + "Run `update_model_info_file()` and verify results", |
| 52 | + "Run `knit_engine_docs()` and `devtools::document()` to update docs" |
| 53 | + ) |
| 54 | +} |
| 55 | + |
| 56 | +# nocov end |
| 57 | + |
0 commit comments