[R] testInstalledBasic / testInstalledPackages
marc_schwartz at me.com
Tue Apr 16 19:52:13 CEST 2013
On Apr 16, 2013, at 11:44 AM, Trina Patel <trinarpatel at gmail.com> wrote:
> I installed R 3.0.0 on a Windows 2008 Server.
> When I submitted the following code in R64,
> I get the following message in the R Console:
> running tests of consistency of as/is.*
> creating ‘isas-tests.R’
> running code in ‘isas-tests.R’
> comparing ‘isas-tests.Rout’ to ‘isas-tests.Rout.save’ ...2550a2551
> running tests of random deviate generation -- fails occasionally
> running code in ‘p-r-random-tests.R’
> comparing ‘p-r-random-tests.Rout’ to ‘p-r-random-tests.Rout.save’ ... OK
> running tests of primitives
> running code in ‘primitives.R’
> running regexp regression tests
> running code in ‘utf8-regex.R’
> running tests to possibly trigger segfaults
> creating ‘no-segfault.R’
> running code in ‘no-segfault.R’
> Warning message:
> running command 'diff -bw
> had status 1
> When I compare the isas-tests.Rout to isas-tests.Rout.save, as well
> as the two diff files listed above, it seems that there is one extra
> empty line in isas-tests.Rout.save. Is there any way to fix this error
> without modifying the isas-tests.Rout.save file?
> Next I submitted the following code,
> and got the message below in my R console:
> Testing examples for package ‘base’
> Testing examples for package ‘tools’
> comparing ‘tools-Ex.Rout’ to ‘tools-Ex.Rout.save’ ...
> <  "0cce1e42ef3fb133940946534fcf8896"
>>  "eb723b61539feef013de476e68b5c50a"
> When comparing the files tools-ex.rout and tools-ex-rout.save, it
> seems this difference indicates an error in the md5sums for the file
> C:\Program Files\R\R-3.0.0\COPYING. Does this indicate a problem with
> my installation? Looking at the file C:\Program Files\R\R-3.0.0\MD5,
> leads me to suspect there might be an error in the test itself.
> Thanks for the help!
from the R Installation and Administration Manual. Try running:
Sys.setenv(LC_COLLATE = "C", LANGUAGE = "en")
before you run the tests.
You might also want to have a look at:
More information about the R-help