Useful due to the reliance on original_name as an 'id' throughout env packages. If not removed, quotes are sometimes escaped by the underlying functions used, apparently creating duplicates among original_name.
clean_quotes(df, cols = "original_name")
Dataframe
Character. Column from which to remove quotes
Dataframe with quotes removed from cols
x <- data.frame(a = c("species A", "species 'A'"))
clean_quotes(x, cols = "a")
#> a
#> 1 species A
#> 2 species A