testthat::test_that("error printing utility works for quantreg_spacing", {
testthat::expect_warning(printWarnings(list(ierr="test", it = 100)))
testthat::expect_warning(printWarnings(list(ierr="test", it = 2)))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.