Skip to content
Prev 53562 / 63424 Next

reg-tests-1d.R fails in r72721

On 2017-05-24, Duncan Murdoch wrote:
[...]
[...]
Nope:
+                   paste0(path.expand("~/"), filename))
Error: path.expand(paste0("~/", filename)) == paste0(path.expand("~/"),  .... is not TRUE
Execution halted

The problem is that path.expand(), or do_pathexpand() for
non-windoze calls translateChar() which in turn calls
translateToNative() which is unknown to make check (but not to R
--vanilla) under my setup. Once it is unknown, there seems to be no
way to force an encoding:
[1] "UTF-8"
[1] "UTF-8"
[1] "unknown"
[1] "unknown"
[1] "unknown"
[1] "unknown"
h.