Skip to content
Prev 11679 / 12125 Next

[R-pkg-devel] Problem passing noSuggests test

Thank you for all answers!
I agree that adopting a testing framework would be a better approach
for future packages. However, as this particular package is not under
active development, I was particularly looking for solutions that
required less modifications of the current code.

And from the answers and the code in the MASS-example, it seems the
most straightforward fix in my particular case is to replace the print
statements with stopifnot(all.equal(...)). The suggested package
should in my case not produce different output than the original
package, it just offers a different way of computing the same result
when the two of them interact correctly. While I will not use the
.rout.save modification examples here, they could be useful for other
scenarios and for others who encounter this thread in the future.

Thanks and best wishes,
Jon
On Fri, 1 Aug 2025 at 16:39, Michael Chirico <michaelchirico4 at gmail.com> wrote: