tests/testthat/test-html.R

library(jsTree)
library(testthat)

testthat::test_that('tree html',{

  x <- 'a/b/c'
  
  a <- jsTree::jsTree(x,browse = FALSE)
  
  expect_true(file.exists(a))

})

Try the jsTree package in your browser

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

jsTree documentation built on Jan. 13, 2021, 8:40 p.m.