tests/testthat.R

library(testthat)
library(evaluator)

# ensure phantom.js is available on CI platforms
if (Sys.getenv("NOT_CRAN", "") != "" || Sys.getenv("CI", "") != "") {
  if (!shinytest::dependenciesInstalled()) shinytest:::installDependencies()
  message("Using phantom.js from ", shinytest:::find_phantom(), "\n")
}

test_check("evaluator")

Try the evaluator package in your browser

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

evaluator documentation built on July 6, 2021, 9:06 a.m.