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
The 'pacific' value of the projection argument of glottomap() does not work; I get the following error:
Error in `.data[["black"]]`:
! Column `black` not found in `.data`.
Run `rlang::last_error()` to see where the error occurred.
In addition, the documentation says that projections other than equal-area and Pacific-centred equal-area may be specified by their “EPSG code”. This is inaccurate: in fact, the function requires the EPSG description, not the EPSG code. E.g. for the “World Mollweide” projection, the EPSG code is 54009, but the description is +proj=moll +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m no_defs; only the latter (as a string) is a valid projection argument of the glottomap() function.
The text was updated successfully, but these errors were encountered:
I've fixed the error with the 'pacific' projection.
The function does accept an EPSG code, but this should be the full code, not only the number. I've added an example in the 'projection' parameter description in the glottomap function.
For example: glottomap(projection = "ESRI:54009") plots all languages worldwide in the World Mollweide projection.
The
'pacific'
value of theprojection
argument ofglottomap()
does not work; I get the following error:In addition, the documentation says that projections other than equal-area and Pacific-centred equal-area may be specified by their “EPSG code”. This is inaccurate: in fact, the function requires the EPSG description, not the EPSG code. E.g. for the “World Mollweide” projection, the EPSG code is 54009, but the description is
+proj=moll +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m no_defs
; only the latter (as a string) is a validprojection
argument of theglottomap()
function.The text was updated successfully, but these errors were encountered: