Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
guess_encoding inconsistency #641
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.