tests/testthat/test-inline.R

test_that("inline is stable", {
    expect_snapshot(cc(inline("This is a ", shiny::span(style = "color: red", "test"),
        ".", class = "mb-2", style = "font-weight: bold")))
})

Try the inshiny package in your browser

Any scripts or data that you put into this service are public.

inshiny documentation built on Feb. 14, 2026, 5:06 p.m.