From ccdaddce533d1b26a92d4084ce68864455d3eeb1 Mon Sep 17 00:00:00 2001 From: David Phillippo Date: Wed, 6 Mar 2024 10:41:02 +0000 Subject: [PATCH] Fix typo in smoking vignette [ci build-vignettes] Prior to ggplot2 3.5.0, shortened names for theme entries were seemingly allowed. Now an error --- vignettes/example_smoking.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/example_smoking.Rmd b/vignettes/example_smoking.Rmd index 952c9447d..771f6442d 100644 --- a/vignettes/example_smoking.Rmd +++ b/vignettes/example_smoking.Rmd @@ -175,7 +175,7 @@ These are all in agreement; the posterior densities of the direct and indirect e Notice that there is not much indirect information for the Individual counselling vs. No intervention comparison, so the network (consistency) estimate is very similar to the direct estimate for this comparison. ```{r smk_nodesplit, fig.width = 7} plot(smk_nodesplit) + - ggplot2::theme(legend.position = "bottom", legend.direct = "horizontal") + ggplot2::theme(legend.position = "bottom", legend.direction = "horizontal") ``` ## Further results