Skip to content

Commit e2b2dce

Browse files
brookslogandajmcdonDmitry Shemetov
authored
fix: update tooling book to epiprocess==0.9.0 and others (#12)
* bump epiprocess, epipredict, epidatr versions, update due to breaking changes * bump versions on all dependencies, update renv.lock. * replace both `pivot_quantiles` and `unnest` `pivot_wider` patterns to `pivot_quantiles_wider` * fix some `epi_recipe` and `frosting` printing that doesn't play well with knitr now. * update a few plots * update for epiprocess R6 refactor * remove references to R6 and mutation * fix the authors section of DESCRIPTION * integrate Rprofile with user Rprofile * add a README file * fix broken formatting in packages.bib * get missing data for sliding-forecasters.qmd online instead of local files Co-authored-by: Daniel McDonald <[email protected]> Co-authored-by: Dmitry Shemetov <[email protected]>
1 parent 4c3830c commit e2b2dce

File tree

68 files changed

+67659
-46966
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+67659
-46966
lines changed

.Rprofile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
source("renv/activate.R")
2+
3+
# Check if user .Rprofile exists
4+
if (file.exists("~/.Rprofile")) {
5+
# Source user .Rprofile
6+
source("~/.Rprofile")
7+
}

DESCRIPTION

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ Package: delphitoolingbook
22
Title: Delphi Tooling
33
Version: 0.0.0.9999
44
Authors@R: c(
5-
person("Daniel", "McDonald", "J.", "[email protected]", role = c("cre", "aut"),
6-
person("Logan", "Brooks", role = c("cre","aut"),
7-
person("Rachel", "Lobay", role = "aut"))
8-
person("Ryan", "Tibshirani", "J.", "[email protected]", role = "aut"),
9-
Description:
5+
person("Daniel", "McDonald", "J.", "[email protected]", role = c("cre", "aut")),
6+
person("Logan", "Brooks", role = c("cre","aut")),
7+
person("Rachel", "Lobay", role = "aut"),
8+
person("Ryan", "Tibshirani", "J.", "[email protected]", role = "aut")
9+
)
10+
Description:
1011
| This book is a longform introduction to analysing and forecasting epidemiological data.
1112
License: MIT + file LICENSE
1213
Imports:

README.md

Lines changed: 22 additions & 0 deletions

_common.R

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,14 @@ options(
4242

4343
ggplot2::theme_set(ggplot2::theme_bw())
4444

45+
# Workaround for interleaved `cat`s and `message`s (from `cli`) getting
46+
# intercepted and not combined properly by `collapse: true`:
47+
with_messages_cat_to_stdout <- function(code) {
48+
withCallingHandlers(
49+
code,
50+
message = function(m) {
51+
cat(m$message)
52+
tryInvokeRestart("muffleMessage")
53+
}
54+
)
55+
}

_freeze/archive/execute-results/html.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

_freeze/archive/figure-html/unnamed-chunk-8-1.svg

Lines changed: 1465 additions & 0 deletions

_freeze/archive/figure-html/unnamed-chunk-9-1.svg

Lines changed: 588 additions & 591 deletions

_freeze/correlations/figure-html/unnamed-chunk-10-1.svg

Lines changed: 147 additions & 150 deletions

_freeze/correlations/figure-html/unnamed-chunk-4-1.svg

Lines changed: 171 additions & 174 deletions

_freeze/correlations/figure-html/unnamed-chunk-6-1.svg

Lines changed: 189 additions & 192 deletions

0 commit comments

Comments
 (0)