tests/testthat/test.do_r_command.R

test_that("do_r_command", {
  res <- .do_r_command(reactive.params = c("A", "B"),
                       refitting.df = list(data.frame()) )
  expect_equal(res, 
               "archeoViz(<span style=color:Darkblue;>objects.df</span>=data, , <span style=\"color: Darkblue;\"></span>=A, <span style=\"color: Darkblue;\"></span>=B)")
})
 

Try the archeoViz package in your browser

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

archeoViz documentation built on June 22, 2024, 10:04 a.m.