test_that("as.data.frame2 fails on inconsistent lengths", { expect_error(as.data.frame2(list(a=1,b=2:3))) })
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.