Re:Scikit-Learn Version 1.0
by disgruntledphd2 on Tuesday September 14, 2021 @11:47AM
(#28526558)
I actually quite like R's error handling. It's as good as Common Lisp's which is often held up as the epitome of this.
You also have the dump.frames option, which will save your workspace on failure, which is incredibly useful when running R stuff remotely/in a distributed fashion.
It's not that much harder. There's no pytest, but testthat works well enough. I've developed a few packages internally in R and wouldn't say it was that much harder to ensure correctness than for the corresponding Python packages. (We used to keep them in sync, before basically moving everything to Python.)