You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I want to make sure that all my labels are the same. In the following example, the word 'text' is spelled differently on the x-axis and the y-axis (and you could argue it is spelled incorrectly on the x-axis):
ggplot(mtcars, aes(mpg, wt)) +
geom_point() +
labs(x="This is some txt", y="This is more text",
title="Thisy is a titlle",
subtitle="This is a subtitley",
caption="This is a captien") +
theme_ipsum_rc(grid="XY") -> gg
gg_check(gg)
gg_check(gg) picks up that 'Thisy', 'titlle', and 'subtitley' are misspelled, but not that 'txt' is misspelled (even though it is an abbreviation) or that there is another instance of the same word on the plot. I can see an argument for not suggesting that abbreviations are misspellings, but detecting for consistency would be great!
Let's say I want to make sure that all my labels are the same. In the following example, the word 'text' is spelled differently on the x-axis and the y-axis (and you could argue it is spelled incorrectly on the x-axis):
gg_check(gg)
picks up that 'Thisy', 'titlle', and 'subtitley' are misspelled, but not that 'txt' is misspelled (even though it is an abbreviation) or that there is another instance of the same word on the plot. I can see an argument for not suggesting that abbreviations are misspellings, but detecting for consistency would be great!Above code is from here.
The text was updated successfully, but these errors were encountered: