Skip to content

Quote numbers in graticule labels - #1083

Merged
edzer merged 1 commit into
r-spatial:masterfrom
paleolimbot:fix-grat-labels-locale
Jun 17, 2019
Merged

edzer merged 1 commit into
r-spatial:masterfrom
paleolimbot:fix-grat-labels-locale

Conversation

@paleolimbot

Copy link
Copy Markdown
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

edzer commented Jun 17, 2019

Copy link
Copy Markdown
Member

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