I look for some easy method to find out if any code generates a warning. Some method to call TRUE|FALSE in case of causing warning. I discovered expect_warning()
, that doesn't work anymore.
I need to run for cyklus with nonparametric tests, and always return TRUE, if a partial nonparametric test generates warning. Specifically warning of dealing with ties when conducting Wilcoxon.