ropensci / taxize

A taxonomic toolbelt for R
https://docs.ropensci.org/taxize
Other
270 stars 61 forks source link

Fix the encoding issue in gnr_resolve (update to taxize_capwords) #911

Closed salix-d closed 1 year ago

salix-d commented 1 year ago

re: issue #904

I looked at the source code to see where the problem was since I had issue when using Encoding instead of ènc2utf8`. It seems the issue is in the taxize_capwords. If you use gsub it takes care of the encoding.

I ran the tests for gnr_resolve, all passed.