Nothing
test_that("HAPPY: whatis returns results", {
vcr::use_cassette("whatis-happy-return-results", {
good <- with_stubbed_credentials({
with_stubbed_credentials({
air::whatis("paste0(vector1, vector2)") |> suppressMessages()
})
})
})
expect_true(class(good) == "character")
})
test_that("HAPPY: whatis prints result message", {
good <- \() {
vcr::use_cassette("whatis-happy-print-results", {
with_stubbed_credentials({
air::whatis("paste0(vector1, vector2)")
})
})
}
expect_message(good(), ".*\n+")
})
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.