Skip to content

Commit 37f3ad0

Browse files
authored
Merge pull request #383 from cmu-delphi/287-surface-step-name
287 surface step name
2 parents 1c01028 + 434262a commit 37f3ad0

19 files changed

+1933
-148
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: epipredict
22
Title: Basic epidemiology forecasting methods
3-
Version: 0.0.23
3+
Version: 0.0.24
44
Authors@R: c(
55
person("Daniel", "McDonald", , "[email protected]", role = c("aut", "cre")),
66
person("Ryan", "Tibshirani", , "[email protected]", role = "aut"),
@@ -37,7 +37,7 @@ Imports:
3737
hardhat (>= 1.3.0),
3838
magrittr,
3939
recipes (>= 1.0.4),
40-
rlang (>= 1.0.0),
40+
rlang (>= 1.1.0),
4141
stats,
4242
tibble,
4343
tidyr,

NAMESPACE

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -214,18 +214,15 @@ import(distributional)
214214
import(epiprocess)
215215
import(parsnip)
216216
import(recipes)
217-
importFrom(checkmate,assert)
218-
importFrom(checkmate,assert_character)
219217
importFrom(checkmate,assert_class)
220-
importFrom(checkmate,assert_date)
221-
importFrom(checkmate,assert_function)
222-
importFrom(checkmate,assert_int)
223-
importFrom(checkmate,assert_integer)
224-
importFrom(checkmate,assert_integerish)
225-
importFrom(checkmate,assert_logical)
226-
importFrom(checkmate,assert_number)
227218
importFrom(checkmate,assert_numeric)
228-
importFrom(checkmate,assert_scalar)
219+
importFrom(checkmate,test_character)
220+
importFrom(checkmate,test_date)
221+
importFrom(checkmate,test_function)
222+
importFrom(checkmate,test_integerish)
223+
importFrom(checkmate,test_logical)
224+
importFrom(checkmate,test_numeric)
225+
importFrom(checkmate,test_scalar)
229226
importFrom(cli,cli_abort)
230227
importFrom(cli,cli_warn)
231228
importFrom(dplyr,across)
@@ -276,12 +273,24 @@ importFrom(rlang,caller_arg)
276273
importFrom(rlang,caller_env)
277274
importFrom(rlang,enquo)
278275
importFrom(rlang,enquos)
276+
importFrom(rlang,env_get_list)
279277
importFrom(rlang,expr)
280278
importFrom(rlang,global_env)
281279
importFrom(rlang,inject)
280+
importFrom(rlang,is_call)
281+
importFrom(rlang,is_character)
282+
importFrom(rlang,is_closure)
283+
importFrom(rlang,is_environment)
284+
importFrom(rlang,is_formula)
285+
importFrom(rlang,is_function)
286+
importFrom(rlang,is_list)
282287
importFrom(rlang,is_logical)
288+
importFrom(rlang,is_missing)
283289
importFrom(rlang,is_null)
290+
importFrom(rlang,is_string)
291+
importFrom(rlang,is_symbol)
284292
importFrom(rlang,is_true)
293+
importFrom(rlang,is_vector)
285294
importFrom(rlang,set_names)
286295
importFrom(rlang,sym)
287296
importFrom(stats,as.formula)

NEWS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,7 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.0.x will indicat
5757
- Add `step_epi_slide` to produce generic sliding computations over an `epi_df`
5858
- Add quantile random forests (via `{grf}`) as a parsnip engine
5959
- Replace `epi_keys()` with `epiprocess::key_colnames()`, #352
60-
- Fix bug where `fit()` drops the `epi_workflow` class, #363
60+
- More descriptive error messages from `arg_is_*()`, #287
61+
- Fix bug where `fit()` drops the `epi_workflow` class (also error if
62+
non-`epi_df` data is given to `epi_recipe()`), #363
6163
- Try to retain the `epi_df` class during baking to the extent possible, #376

R/epipredict-package.R

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
## usethis namespace: start
2-
#' @importFrom tibble as_tibble
3-
#' @importFrom rlang := !! %||% as_function global_env set_names !!! caller_arg
4-
#' @importFrom rlang is_logical is_true inject enquo enquos expr sym arg_match
5-
#' @importFrom stats poly predict lm residuals quantile
6-
#' @importFrom dplyr arrange across all_of any_of bind_cols bind_rows group_by
7-
#' @importFrom dplyr summarize filter mutate select left_join rename ungroup
8-
#' @importFrom dplyr full_join relocate summarise everything
9-
#' @importFrom cli cli_abort cli_warn
2+
#' @import epiprocess parsnip
103
#' @importFrom checkmate assert assert_character assert_int assert_scalar
114
#' @importFrom checkmate assert_logical assert_numeric assert_number
125
#' @importFrom checkmate assert_integer assert_integerish
136
#' @importFrom checkmate assert_date assert_function assert_class
14-
#' @import epiprocess parsnip
7+
#' @importFrom cli cli_abort cli_warn
8+
#' @importFrom dplyr arrange across all_of any_of bind_cols bind_rows group_by
9+
#' @importFrom dplyr summarize filter mutate select left_join rename ungroup
10+
#' @importFrom dplyr full_join relocate summarise everything
11+
#' @importFrom rlang := !! %||% as_function global_env set_names !!! caller_arg
12+
#' @importFrom rlang is_logical is_true inject enquo enquos expr sym arg_match
13+
#' @importFrom stats poly predict lm residuals quantile
14+
#' @importFrom tibble as_tibble
15+
na_chr <- NA_character_
1516
## usethis namespace: end
1617
NULL

0 commit comments

Comments
 (0)