Skip to content

Commit f3bde87

Browse files
don't use ' within '-delimited character string
1 parent 746082f commit f3bde87

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

inst/tests/tests.Rraw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20327,8 +20327,8 @@ local(if (utf8_check(c("\u00e4", "\u00f6", "\u00fc"))) {
2032720327
# a-umlaut, o-umlaut, u-umlaut
2032820328
eval(parse(text = ' # eval(parse()) defers parsing to runtime; see utf8_check description
2032920329
setnames(x , c("\u00e4", "\u00f6", "\u00fc"))
20330-
# NB: since these can be represented e.g. in latin1, after parse(), they'll be in native encoding, _not_
20331-
# necessarily UTF-8, so omit from=
20330+
# NB: since these can be represented e.g. in latin1, after parse(), they will be in
20331+
# native encoding, _not_ necessarily UTF-8, so omit from=
2033220332
setnames(y , iconv(c("\u00f6", "\u00fc", "\u00e4"), to = "latin1"))
2033320333
test(2298.1, rbindlist(list(x,y), use.names=TRUE), data.table("\u00e4"=c(1,6), "\u00f6"=c(2,4), "\u00fc"=c(3,5)))
2033420334
test(2298.2, rbindlist(list(y,x), use.names=TRUE), data.table("\u00f6"=c(4,2), "\u00fc"=c(5,3), "\u00e4"=c(6,1)))

0 commit comments

Comments
 (0)