context("asNum") test_that("is numeric", { expect_is(asNum("w"), "numeric") expect_equal(asNum("w"), NA_real_) })
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.