Commit cdabed5
committed
tests: avoid invalid UTF-8 warning
Under options(encoding="UTF-8"), writeLines() always tries to perform
text conversion. Giving it bytes that aren't valid in the current
encoding results in warnings. Avoid the warning by explicitly opening a
file connection with encoding="" (no conversion).1 parent 63339e1 commit cdabed5
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21555 | 21555 | | |
21556 | 21556 | | |
21557 | 21557 | | |
21558 | | - | |
| 21558 | + | |
| 21559 | + | |
| 21560 | + | |
21559 | 21561 | | |
21560 | 21562 | | |
21561 | 21563 | | |
| |||
0 commit comments