Nothing
context("console functionality")
testthat::describe("console functionality", {
skip_if_not_rstudio()
rstudioapi::sendToConsole("x <- whereami()")
it("class", {
testthat::expect_true(inherits(x, c("whereami","character")))
})
it("value", {
testthat::expect_equal(basename(x[1]), "Console")
})
#rstudioapi::sendToConsole("cat('\f')")
})
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.