Skip to content

Quote numbers in graticule labels #1083

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

Merged
merged 1 commit into from
Jun 17, 2019
Merged

Quote numbers in graticule labels #1083

merged 1 commit into from
Jun 17, 2019

Conversation

paleolimbot
Copy link
Contributor

This PR quotes the numbers generated in st_graticule(), so that these values can be safely passed to parse() in any locale (as reported in tidyverse/ggplot2#3365). This doesn't cause any changes in the ggplot2 doppleganger tests (tested using the re-enabled geom_sf() tests in tidyverse/ggplot2#3361), and thus I think it's unlikely that this will cause problems elsewhere (except in ggplot2's own tests, where we'll have to find a different way to test manual breaks in the graticule).

…decimal separator do not cause parsing to fail
@edzer edzer merged commit 425c3df into r-spatial:master Jun 17, 2019
@edzer
Copy link
Member

edzer commented Jun 17, 2019

Thanks Dewey!

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

Successfully merging this pull request may close these issues.

2 participants