Nothing
context("unlabel()")
test_that(
"unlabel.default()"
, {
x <- letters
variable_label(x) <- "Label to be removed"
expect_identical(
unlabel(x)
, letters
)
}
)
test_that(
"unlabel.data.frame()"
, {
x <- npk
variable_label(x) <- list(N = "Nitrogen", yield = "Yield", P = expression(italic(P)))
expect_identical(
unlabel(x)
, npk
)
}
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.