Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow American spelling of "colour" in geom_ref_line #110

Closed
brianrice2 opened this issue Aug 2, 2020 · 1 comment
Closed

Allow American spelling of "colour" in geom_ref_line #110

brianrice2 opened this issue Aug 2, 2020 · 1 comment

Comments

@brianrice2
Copy link

It would be nice if geom_ref_line() could handle the American spelling of "colour" too, like ggplot2 does.

Example:

library(tidyverse)
library(modelr)
mtcars %>% 
  ggplot() + 
  geom_point(aes(mpg, hp, color = as.factor(cyl))) +
  geom_ref_line(h = 120, colour = "black", size = 0.5)

mtcars %>% 
  ggplot() + 
  geom_point(aes(mpg, hp, color = as.factor(cyl))) +
  geom_ref_line(h = 120, color = "black", size = 0.5)
#> Error in geom_ref_line(h = 120, color = "black", size = 0.5): unused argument (color = "black")

Created on 2020-08-02 by the reprex package (v0.3.0)

@hadley
Copy link
Member

hadley commented Oct 31, 2023

modelr is now superseded, which means that we'll only perform critical bug fixes needed to keep it on CRAN. Thanks for contributing this idea and my apologies that it took so long to inform you that this package is no longer under development.

@hadley hadley closed this as completed Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants