[Rd] make check reg-tests-1.R error on solaris

Karen Noel karenoel1 at gmail.com
Tue Mar 3 18:20:31 CET 2009


R 2.5.1 compiled, passed the make check and has been successfully
running for a couple
years on a Sun Fire V490 running Solaris 9. I need a newer version of
R, but can't get a
newer version of R to pass the make check. I've tried 2.8.1, 2.7.2,
2.6.2 and 2.6.0. (2.5.1 still
passes on this server) At this point I thought I'd try to compile it
on another Sun server
(Solaris 10), but it had the same problem. Configuring with no options
didn't help. I
commented out the failed test from the Makefile to see if it would
pass the rest of the tests.
It passes all the rest of the tests. Here is the failure error from make check.

make[2]: Entering directory `/usr/local/src/R-2.8.1/tests'
running regression tests
make[3]: Entering directory `/usr/local/src/R-2.8.1/tests'
running code in 'reg-tests-1.R' ...make[3]: *** [reg-tests-1.Rout] Error 1
make[3]: Leaving directory `/usr/local/src/R-2.8.1/tests'
make[2]: *** [test-Reg] Error 2
make[2]: Leaving directory `/usr/local/src/R-2.8.1/tests'
make[1]: *** [test-all-basics] Error 1
make[1]: Leaving directory `/usr/local/src/R-2.8.1/tests'
make: *** [check] Error 2
bash-2.05#

Here is output from reg-tests-1.Rout.fail.

[1] "41c6167e" "dir1" "dir2" "dirs" "file275c23f2"
[6] "file33f963f2" "moredirs"
> file.create(file.path(dd, "somefile"))
[1] TRUE TRUE TRUE TRUE
> dir(".", recursive=TRUE)
[1] "41c6167e" "dir1/somefile" "dir2/somefile"
[4] "dirs/somefile" "file275c23f2" "file33f963f2"
[7] "moredirs/somefile"
> stopifnot(unlink("dir?") == 1) # not an error
Error: unlink("dir?") == 1 is not TRUE
Execution halted
rm: Cannot remove any directory in the path of the current working directory
/tmp/RtmprBjF6W

Looking through the archives I did find a couple other people with
this error, both running
Solaris 10. PR#10501 and PR#11738 have quite a lot of information
about this error, but I
don't see any resolution for them.

This looks like it could possibly be enough of a problem that I
haven't put 2.8.1 in
production. Can you help me with a resolution or let me know if it is
safe to ignore? I'd
appreciate it.

Thank you!
Karen



More information about the R-devel mailing list