traitecoevo / APCalign

R package for accessing, matching and updating species names of Australian flora
https://traitecoevo.github.io/APCalign/
Other
4 stars 6 forks source link

Option if fuzzy_match accepted list is empty for a given letter #218

Closed ehwenk closed 6 months ago

ehwenk commented 6 months ago

Need to add if else loop to only search for fuzzy matches if the subset accepted list (with same first letter) is non-empty. If there were no strings on the accepted list with the same first letter as the input text, warnings were generated.

dfalster commented 6 months ago

Can you add a test to make sure it works when there's no acceptable match?

dfalster commented 6 months ago

Thanks, feel free to merge