dmphillippo / multinma

Network meta-analysis of individual and aggregate data in Stan
https://dmphillippo.github.io/multinma
35 stars 16 forks source link

Use guide = "none" instead of guide = FALSE #6

Closed ndunnewind closed 2 years ago

ndunnewind commented 2 years ago

Using guide = FALSE has been deprecated since ggplot2 3.3.4.

A deprecation warning is shown when running e.g. the example in plot.nma_data:

af_net <- set_agd_arm(atrial_fibrillation,
                      study = studyc,
                      trt = abbreviate(trtc, minlength = 3),
                      r = r,
                      n = n,
                      trt_class = trt_class)
plot(af_net)
Warning message:
It is deprecated to specify `guide = FALSE` to remove a guide. Please use `guide = "none"` instead. 
dmphillippo commented 2 years ago

Thanks @ndunnewind, merging in for the next release