В Tue, 13 May 2025 17:05:14 +0000 smallepsilon <smallepsi...@proton.me> пишет:
> In many package tests, I want to verify that two ways of specifying > something lead to the execution of exactly the same calculations. Would you like to try tracing the linear algebra calculations themselves (together with their arguments) instead of trying to trace their results? I think it should be possible using the 'mockery' package or even by hand (after a lot of effort) using base::trace(). > My submission was rejected, not because of test failures, but because > I had "removed the failing tests which is not the idea of tests." No > errors/warnings/notes were reported to me. Try measuring the test coverage of your package before and after removing the extraneous tests (the 'covr' package should the job). Perhaps you may see a cheap way to increase the coverage. Offer the increased coverage as an additional argument when resubmitting. After all, tests are code and thus may also contain bugs, and sometimes it's the right choice to remove the buggy code. -- Best regards, Ivan ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel