coopercenter / cte-trailblazers

MIT License
0 stars 0 forks source link

In ggplot() call, change 'guides(color = FALSE)' to 'guides(color = "none")' #16

Open athena-small opened 2 years ago

athena-small commented 2 years ago

The use of guides(color = FALSE) has been deprecated as of ggplot2 v. 3.3.5. The old syntax now throws multiple warnings each time the Cluster Growth dashboard is launched. :-(

athena-small commented 2 years ago

Need to edit line 578 in cluster-briefs-graphs.Rmd:

guides(color = FALSE) + labs(size ="Annual Openings")

should be

guides(color = "none") + labs(size ="Annual Openings")

Also search for and fix other like cases.

Confirm that the figures still generate properly.

athena-small commented 2 years ago

N.B.:Once #15 is implemented, dashboard will no longer call the ggplot() code directly, so warning messages should disappear in any case. But we want the issue addressed anyway, as we will reuse this code in future.