Using options() to inject a function’s internal variable for reproducible testing
R-bloggers 2025-02-14
Summary:
No image this time Imagine you have a function that does something complicated, and in the middle of its definition it generates a variable. Now suppose that you want to save this variable and then re-use it for tests, what I mean is that you wan...
Continue reading: Using options() to inject a function’s internal variable for reproducible testing