Skip to content

287 surface step name #383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Sep 30, 2024
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: epipredict
Title: Basic epidemiology forecasting methods
Version: 0.0.23
Version: 0.0.24
Authors@R: c(
person("Daniel", "McDonald", , "[email protected]", role = c("aut", "cre")),
person("Ryan", "Tibshirani", , "[email protected]", role = "aut"),
Expand Down Expand Up @@ -37,7 +37,7 @@ Imports:
hardhat (>= 1.3.0),
magrittr,
recipes (>= 1.0.4),
rlang (>= 1.0.0),
rlang (>= 1.1.0),
stats,
tibble,
tidyr,
Expand Down
29 changes: 19 additions & 10 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -214,18 +214,15 @@ import(distributional)
import(epiprocess)
import(parsnip)
import(recipes)
importFrom(checkmate,assert)
importFrom(checkmate,assert_character)
importFrom(checkmate,assert_class)
importFrom(checkmate,assert_date)
importFrom(checkmate,assert_function)
importFrom(checkmate,assert_int)
importFrom(checkmate,assert_integer)
importFrom(checkmate,assert_integerish)
importFrom(checkmate,assert_logical)
importFrom(checkmate,assert_number)
importFrom(checkmate,assert_numeric)
importFrom(checkmate,assert_scalar)
importFrom(checkmate,test_character)
importFrom(checkmate,test_date)
importFrom(checkmate,test_function)
importFrom(checkmate,test_integerish)
importFrom(checkmate,test_logical)
importFrom(checkmate,test_numeric)
importFrom(checkmate,test_scalar)
importFrom(cli,cli_abort)
importFrom(cli,cli_warn)
importFrom(dplyr,across)
Expand Down Expand Up @@ -276,12 +273,24 @@ importFrom(rlang,caller_arg)
importFrom(rlang,caller_env)
importFrom(rlang,enquo)
importFrom(rlang,enquos)
importFrom(rlang,env_get_list)
importFrom(rlang,expr)
importFrom(rlang,global_env)
importFrom(rlang,inject)
importFrom(rlang,is_call)
importFrom(rlang,is_character)
importFrom(rlang,is_closure)
importFrom(rlang,is_environment)
importFrom(rlang,is_formula)
importFrom(rlang,is_function)
importFrom(rlang,is_list)
importFrom(rlang,is_logical)
importFrom(rlang,is_missing)
importFrom(rlang,is_null)
importFrom(rlang,is_string)
importFrom(rlang,is_symbol)
importFrom(rlang,is_true)
importFrom(rlang,is_vector)
importFrom(rlang,set_names)
importFrom(rlang,sym)
importFrom(stats,as.formula)
Expand Down
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,7 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.0.x will indicat
- Add `step_epi_slide` to produce generic sliding computations over an `epi_df`
- Add quantile random forests (via `{grf}`) as a parsnip engine
- Replace `epi_keys()` with `epiprocess::key_colnames()`, #352
- Fix bug where `fit()` drops the `epi_workflow` class, #363
- More descriptive error messages from `arg_is_*()`, #287
- Fix bug where `fit()` drops the `epi_workflow` class (also error if
non-`epi_df` data is given to `epi_recipe()`), #363
- Try to retain the `epi_df` class during baking to the extent possible, #376
19 changes: 10 additions & 9 deletions R/epipredict-package.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
## usethis namespace: start
#' @importFrom tibble as_tibble
#' @importFrom rlang := !! %||% as_function global_env set_names !!! caller_arg
#' @importFrom rlang is_logical is_true inject enquo enquos expr sym arg_match
#' @importFrom stats poly predict lm residuals quantile
#' @importFrom dplyr arrange across all_of any_of bind_cols bind_rows group_by
#' @importFrom dplyr summarize filter mutate select left_join rename ungroup
#' @importFrom dplyr full_join relocate summarise everything
#' @importFrom cli cli_abort cli_warn
#' @import epiprocess parsnip
#' @importFrom checkmate assert assert_character assert_int assert_scalar
#' @importFrom checkmate assert_logical assert_numeric assert_number
#' @importFrom checkmate assert_integer assert_integerish
#' @importFrom checkmate assert_date assert_function assert_class
#' @import epiprocess parsnip
#' @importFrom cli cli_abort cli_warn
#' @importFrom dplyr arrange across all_of any_of bind_cols bind_rows group_by
#' @importFrom dplyr summarize filter mutate select left_join rename ungroup
#' @importFrom dplyr full_join relocate summarise everything
#' @importFrom rlang := !! %||% as_function global_env set_names !!! caller_arg
#' @importFrom rlang is_logical is_true inject enquo enquos expr sym arg_match
#' @importFrom stats poly predict lm residuals quantile
#' @importFrom tibble as_tibble
na_chr <- NA_character_
## usethis namespace: end
NULL
Loading
Loading