tests/testthat/test_ui_function.R

library(shiny)

df <- tibble(
  value = 1:2,
  country = "India")


test_that("test for ui functions",{
expect_s3_class(object = select_input_world_countries(selected_country_label = "input",
                                                        covid_data = df),
  class = "shiny.tag")
                             })
etc5523-2020/r-package-assessment-priya51096 documentation built on Jan. 1, 2021, 1:12 a.m.