Skip to content

Commit 9ee00d4

Browse files
committed
bump version, local renv needed update for snaps
1 parent 6d8cd1d commit 9ee00d4

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: epipredict
22
Title: Basic epidemiology forecasting methods
3-
Version: 0.1.2
3+
Version: 0.1.3
44
Authors@R: c(
55
person("Daniel J.", "McDonald", , "[email protected]", role = c("aut", "cre")),
66
person("Ryan", "Tibshirani", , "[email protected]", role = "aut"),

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.0.x will indicat
1010

1111
## bugfixes
1212
- shifting no columns results in no error for either `step_epi_ahead` and `step_epi_lag`
13+
- Quantiles produced by `grf` were sometimes out of order.
1314

1415
# epipredict 0.1
1516

tests/testthat/_snaps/step_epi_slide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
r %>% step_epi_slide(value, .f = mean, .window_size = c(3L, 6L))
1313
Condition
1414
Error in `epiprocess:::validate_slide_window_arg()`:
15-
! Slide function expected `.window_size` to be a non-null, scalar integer >= 1.
15+
! Slide function expected `.window_size` to be a length-1 difftime with units in days or non-negative integer or Inf.
1616

1717
---
1818

@@ -60,7 +60,7 @@
6060
r %>% step_epi_slide(value, .f = mean, .window_size = 1.5)
6161
Condition
6262
Error in `epiprocess:::validate_slide_window_arg()`:
63-
! Slide function expected `.window_size` to be a difftime with units in days or non-negative integer or Inf.
63+
! Slide function expected `.window_size` to be a length-1 difftime with units in days or non-negative integer or Inf.
6464

6565
---
6666

tests/testthat/test-grf_quantiles.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ test_that("quantile_rand_forest predicts reasonable quantiles", {
5757
expect_silent(out <- fit(spec, formula = y ~ x + z, data = tib))
5858
# swapping around the probabilities, because somehow this happens in practice,
5959
# but I'm not sure how to reproduce
60-
out$fit$quantiles.orig <- c(0.5,0.9, 0.1)
60+
out$fit$quantiles.orig <- c(0.5, 0.9, 0.1)
6161
expect_no_error(predict(out, tib))
6262
})

0 commit comments

Comments
 (0)