inst/tinytest/test_standardize_toascii.r

## -------->>  [[file:../../nstandr.src.org::*standardize_toascii][standardize_toascii:2]]
## This fails depending on platform (Windows) on R release.

## expect_equal( c("FAƇILE"
##               , "fa\xE7ile"
##               , "c\u00b5c\u00b5ber") |>
##               data.table::data.table("coffee") |>
##               standardize_toascii(detect_encoding = TRUE)

## , structure(list(V1 = c("FAAILE", "facile", "cucuber"), V2 = c("coffee", 
## "coffee", "coffee")), row.names = c(NA, -3L), class = c("data.table", 
## "data.frame")))
## --------<<  standardize_toascii:2 ends here
stasvlasov/nstandr documentation built on July 27, 2023, 10:29 p.m.