Nothing
test_that("word_count() warns once, pointing to text_area_Input(word_limit)", {
recorder <- make_call_recorder()
local_mocked_bindings(html = recorder$record("html"), .package = "shinyjs")
expect_one_deprecation(
word_count("text_area", "three little words"),
mentions = c(
"word_count()",
"0.3.0",
"`word_limit` argument of `text_area_Input()`",
"observeEvent()",
"1.0.0"
)
)
# Behaviour is unchanged while the function remains
calls <- recorder$get()
expect_identical(recorded_arg(calls[[1]], "html", 2), 3L)
})
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.