-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add release bullets * combine release bullets * use pkg-level docs * updated docs Co-authored-by: Hannah Frick <hannah@rstudio.com>
- Loading branch information
Showing
4 changed files
with
94 additions
and
41 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#' parsnip | ||
#' | ||
#' The goal of parsnip is to provide a tidy, unified interface to models that | ||
#' can be used to try a range of models without getting bogged down in the | ||
#' syntactical minutiae of the underlying packages. | ||
#' | ||
#' @keywords internal | ||
"_PACKAGE" | ||
|
||
## usethis namespace: start | ||
#' @importFrom dplyr arrange bind_cols bind_rows collect full_join group_by | ||
#' @importFrom dplyr mutate pull rename select starts_with summarise tally | ||
#' @importFrom generics varying_args | ||
#' @importFrom glue glue_collapse | ||
#' @importFrom purrr as_vector imap imap_lgl map map_chr map_dbl map_df map_dfr | ||
#' @importFrom purrr map_lgl %||% | ||
#' @importFrom rlang abort call2 caller_env current_env enquo enquos eval_tidy | ||
#' @importFrom rlang expr get_expr is_empty is_missing is_null is_quosure | ||
#' @importFrom rlang is_symbolic lgl missing_arg quo_get_expr quos sym syms | ||
#' @importFrom stats .checkMFClasses .getXlevels as.formula binomial coef | ||
#' @importFrom stats delete.response model.frame model.matrix model.offset | ||
#' @importFrom stats model.response model.weights na.omit na.pass predict qnorm | ||
#' @importFrom stats qt quantile setNames terms update | ||
#' @importFrom tibble as_tibble is_tibble tibble type_sum | ||
#' @importFrom tidyr gather | ||
#' @importFrom utils capture.output getFromNamespace globalVariables head | ||
#' @importFrom utils methods stack | ||
#' @importFrom vctrs vec_size vec_unique | ||
#' @importFrom ggplot2 autoplot | ||
## usethis namespace: end | ||
NULL | ||
|
||
# nocov start | ||
|
||
utils::globalVariables( | ||
c( | ||
'.', '.label', '.pred', '.row', 'data', 'engine', 'engine2', 'group', | ||
'lab', 'original', 'predicted_label', 'prediction', 'value', 'type', | ||
"neighbors", ".submodels", "has_submodel", "max_neighbor", "max_penalty", | ||
"max_terms", "max_tree", "model", "name", "num_terms", "penalty", "trees", | ||
"sub_neighbors", ".pred_class", "x", "y", "predictor_indicators", | ||
"compute_intercept", "remove_intercept", "estimate", "term", | ||
"call_info", "component", "component_id", "func", "tunable", "label", | ||
"pkg", ".order", "item", "tunable", "has_ext" | ||
) | ||
) | ||
|
||
release_bullets <- function() { | ||
c( | ||
"Update parsnip add-in information at `inst/add-in/parsnip_model_db.R`", | ||
"Run `update_model_info_file()` and verify results", | ||
"Run `knit_engine_docs()` and `devtools::document()` to update docs" | ||
) | ||
} | ||
|
||
# nocov end | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.