Nothing
test_that(
"as()"
, {
test <- 1:4
variable_label(test) <- "a"
expect_identical(
as(test, "logical")
, as(1:4, "logical")
)
expect_identical(
as(test, "integer")
, as(1:4, "integer")
)
expect_identical(
as(test, "numeric")
, as(1:4, "numeric")
)
expect_identical(
as(test, "double")
, as(1:4, "double")
)
expect_identical(
as(test, "character")
, as(1:4, "character")
)
}
)
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.