Dear list

It is possible to store expected output for tests and examples. From the manual: "If tests has a subdirectory Examples containing a file pkg-Ex.Rout.save, this is compared to the output file for running the examples when the latter are checked." And, earlier (written in the context of test output, but apparently applies here as well): "..., these two are compared, with differences being reported but not causing an error."

I think a NOTE would be appropriate here, in order to be able to detect this by only looking at the summary. Is there a reason for not flagging differences here?

The following is slightly related: Some compilers and static code analysis tools assign a numeric code to each type of error or warning they check for, and print it. Would that be possible to do for the anomalies detected by R CMD check? The most significant digit could denote the "severity" of the NOTE, WARNING or ERROR. This would further simplify (semi-)automated analysis of the output of R CMD check, e.g. in the context of automated tests.


Best regards

Kirill

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to