Hunspell Workaround Empty Suggestion out of bounds error in R

I am trying to automatically spell-check a string column of a data.table/data.frame. Looking around, I found several approaches that all give an "out of bounds" error in the case hunspell.suggest returns no suggestions (that is, an empty list, e.g. "pippasnjfjsfiadjg"), see approaches here (the accepted answer here yields NA so does work in principal) and… Read More Hunspell Workaround Empty Suggestion out of bounds error in R