From 9fd1ddba71e0af50acdc84aec0eb551793e9de0d Mon Sep 17 00:00:00 2001 From: Hugo Gruson Date: Thu, 7 Dec 2023 16:02:43 +0100 Subject: [PATCH] Remove deprecated select_tags() function --- .../rmarkdown/templates/transmissibility/skeleton/skeleton.Rmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inst/rmarkdown/templates/transmissibility/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/transmissibility/skeleton/skeleton.Rmd index 0184685..92c724d 100644 --- a/inst/rmarkdown/templates/transmissibility/skeleton/skeleton.Rmd +++ b/inst/rmarkdown/templates/transmissibility/skeleton/skeleton.Rmd @@ -337,7 +337,8 @@ This graph shows the total number of cases per group: ```{r } total_cases <- dat %>% - select_tags(location, counts) %>% + tags_df() %>% + select(location, counts) %>% group_by(location) %>% summarise(cases = sum(counts)) %>% mutate(location = fct_reorder(