On 01.07.2011 01:17, Cody Hamilton wrote:> Hello,
>
> I installed R 2.13.0 on a Windows 2003 server. I downloaded the
Rtools213.exe from http://www.murdoch-sutherland.com/Rtools/ and placed it in
the path (C:\Program Files\R\R-2.13.0\bin).
>
> I submitted the following code:
>
> library(tools)
> Sys.setenv(LC_COLLATE=C)
> testInstalledBasic('basic')
>
> I get the following message in the R Console, which I believe corresponds
to a failure of the test:
>
>> library(tools)
>> Sys.setenv(LC_COLLATE=C)
>> testInstalledBasic('basic')
> running strict specific tests
> running code in ?eval-etc.R?
> comparing ?eval-etc.Rout? to ?eval-etc.Rout.save? ...[1] 1
>
> Is there something wrong with my install?
I took a closer look and your problem is that you want
Sys.setenv(LC_COLLATE="C")
rather than
Sys.setenv(LC_COLLATE=C)
since C is a function but "C" the character you actually want to set.
Anyway, there is a bug in ./src/library/tools/R/testing.R (e.g. for
today's R-devel):
The line
tests3 <- c("reg-tests-1", "reg-tests-2",
"reg-IO", "reg-IO2",
"reg-S4")
needs to be replaced by
tests3 <- c("reg-tests-1a", "reg-tests-1b",
"reg-tests-2",
"reg-IO", "reg-IO2", "reg-S4")
Any R core member around to fix this?
Best,
Uwe Ligges
> Regards,
> -Cody
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.