tests/testthat/test-serv.R

context("test serv method")

library(vici)

test_that("load example data", {
  df <- vici::ICS_ex
  expect_true(df["1",1] == 1 && as.character(df["1",4]) == "Placebo")
})

test_that("update var",{
  
})

test_that("clean output",{
  server <- app_server
  cat(str(server))
  expect_true(1==1)
})

Try the vici package in your browser

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

vici documentation built on April 26, 2023, 5:11 p.m.