library(testthat)
library(MRutils)
test_check("MRutils")
expect_warnings <- function(object, times=1){
if (times<=1){
expect_warning(object)
} else {
expect_warning(expect_warnings(object,times-1))
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.