There was an error while loading. Please reload this page.
1 parent c65de49 commit 64211a0Copy full SHA for 64211a0
pkg/inst/tinytest/test_gh_issue_78.R
@@ -0,0 +1,9 @@
1
+
2
+# x <- "IÑIGO", we avoid problems on Windows here.
3
+x <- intToUtf8(c(73, 209, 73, 71, 79))
4
5
+expect_equal(stringdist("INIGO", x, method="lv", useBytes=FALSE),1)
6
+expect_equal(amatch("INIGO", x, method="lv",maxDist=1),1)
7
8
9
0 commit comments