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
{{ message }}
Repository navigation
Map_data() documentation has what seems like a typo #4278
It works either way, since the name doesn't seem to matter here, but it's rather confusing.
I hope I'm doing this right. I've never used GitHub before, so maybe I'm wrong about something (maybe I'm filing it in the wrong place)... I just think this should be pointed out somewhere.
Good catch. I too think it's a typo, but it seems it doesn't matter what names we use. These arguments are passed to parameters argument of mapproj::mapproject(), and then converted as a double vector.
Activity
yutannihilation commentedon Dec 1, 2020
Good catch. I too think it's a typo, but it seems it doesn't matter what names we use. These arguments are passed to
parametersargument ofmapproj::mapproject(), and then converted as a double vector.https://github.com/cran/mapproj/blob/1307e2c77a8bfa3e41ffe7eee773b487fdc7a195/R/mapproj.r#L46
I don't check the source of the C code, but probably it doesn't use the names, as the example shows unnamed forms:
A pull request to fix this is welcome, but I would also note that we are moving away from
coord_map(). (c.f. #3721)Fixed typo in map_data() documentation (#4278) (#4303)
Merge pull request #27 from tidyverse/master