I get an error message when the code runs below expected - I would like it to be launched and displayed in pdf, however the error returns to r, and the code does not start.
{r, warning=TRUE}
library(survey)
debug(withReplicates.svyrep.design)
I tried warning=TRUE, but it does not work.
How can I get the error displayed in the document?
source
share