tests/testthat/test-parse_url.R

test_that("create_shinylive_url works as expected", {
  app_code <- "x <- 1"
  expect_identical(
    create_shinylive_url(app_code),
    "https://shinylive.io/r/app/#code=NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMADwAIAeAWloEYwBfAXSA"
  )
})

Try the roxy.shinylive package in your browser

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

roxy.shinylive documentation built on April 4, 2025, 4:45 a.m.