# ~~~~~~~ DuplexStream ~~~~~ #
test_that(
"5.1.1 DuplexStreams can be created",
code = {
expect_error(DuplexStream$new(tempfile()), NA)
expect_error(DuplexStream$new(mtcars), NA)
expect_error(DuplexStream$new(1:10), NA)
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.