I have found that the function guess_encoding() returns a dataframe with a $encoding column that is a character vector some times and a factor in the case when all data is just ASCII. This inconsistency my cause problems. For instance, the "encoding" parameter of function locale() expects a character value and fails if we give the "ASCII" obtained from guess_encoding() to it, but works fine otherwise.
The text was updated successfully, but these errors were encountered:
I have found that the function guess_encoding() returns a dataframe with a $encoding column that is a character vector some times and a factor in the case when all data is just ASCII. This inconsistency my cause problems. For instance, the "encoding" parameter of function locale() expects a character value and fails if we give the "ASCII" obtained from guess_encoding() to it, but works fine otherwise.
The text was updated successfully, but these errors were encountered: