[Rd] [patch] Error in reg-tests-1c.R (R-devel)

Mikko Korpela mikko.korpela at helsinki.fi
Wed May 18 12:05:24 CEST 2016


I get an error when running "make check" after building R-devel r70629 
on Ubuntu 14.04. Here are the relevant lines in the file 
"reg-tests-1c.Rout.fail":

   > ## m1z uses match(x, *) with length(x) == 1 and failed in R 3.3.0
   > ## PR#16909 - a consequence of the match() bug; check here too:
   > dv <- data.frame(varé1 = 1:3, varé2 = 3); dv[,"varé2"] <- 2
   Error: unexpected input in "dv <- data.frame(var<C3>"
   Execution halted

The attached patch uses escape sequences for all non-ASCII characters in 
this test and performs pretty much the same check as the original 
version, as far as I know. This fixes "make check" for me. The patched 
check fails on R 3.3.0 as it should.

Here is the output of "locale":

   LANG=en_GB
   LANGUAGE=en_GB:
   LC_CTYPE=fi_FI.UTF-8
   LC_NUMERIC="en_GB"
   LC_TIME="en_GB"
   LC_COLLATE="en_GB"
   LC_MONETARY=fi_FI.UTF-8
   LC_MESSAGES="en_GB"
   LC_PAPER="en_GB"
   LC_NAME="en_GB"
   LC_ADDRESS="en_GB"
   LC_TELEPHONE="en_GB"
   LC_MEASUREMENT="en_GB"
   LC_IDENTIFICATION="en_GB"
   LC_ALL=

-- 
Mikko Korpela
Department of Geosciences and Geography
University of Helsinki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reg-tests-1c.diff
Type: text/x-patch
Size: 739 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20160518/c44ebe50/attachment.bin>


More information about the R-devel mailing list