[R] Need help decyphering 'make check' errors

Thomas Lumley tlumley at u.washington.edu
Thu Apr 11 21:51:44 CEST 2002


On Thu, 11 Apr 2002, Barnet Wagman wrote:

> The file 'tests/Examples/ctest-Ex.Rout.fail' ends with the following error:
>
>     > ## Formula interface.
>     > data(USJudgeRatings)
>     > pairs(USJudgeRatings)
>     > cor.test(~ CONT + INTG, data = USJudgeRatings)
>     Error in cor.test.default(~CONT + INTG, data = USJudgeRatings) :
>         unused argument(s) (data ...)
>     Execution halted
>
>
> There was no core dump.  Could this be a bug in the test source?  If not,
> any suggestions as to how I should proceed?

The first step would be to see if the error is reproducible just from
those few lines, so in R do
  data(USJudgeRatings)
  pairs(USJudgeRatings)
  cor.test(~ CONT + INTG, data = USJudgeRatings)

That's not likely, but it would be so much simpler than the alternative,
which is that some earlier command has corrupted some internal structure
in R.  In this more likely case it may be necessary to progressively
remove code from the test file until the bug goes away, to try to locate
it.

	-thomas


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list