tests/integration/test-deploy.R

test_that("deploy does not error", {
  expect_true(deployApp("example-shiny", appTitle = "Test", account = account))
})

test_that("re-deploy does not error", {
  # Let's exercise the env vars as well
  expect_true(deployApp("example-shiny", envVars = "TEST", account = account))
})

test_that("listAccountEnvVars", {
  envs <- listAccountEnvVars(account = account)
  expect_true(nrow(envs) == 1)
})

Try the rsconnect package in your browser

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

rsconnect documentation built on April 10, 2026, 9:11 a.m.