tests/testthat/test_v8.R

context("V8context")

test_that("d3_v8 has d3", {
  skip_if_not_installed("V8")
  skip_on_cran()
  skip_on_travis()

  # d3_v8 works returns v8 context with d3 installed
  expect_identical(
    d3_v8()$get("global.d3.version"),
    d3_dep_v6()$version
  )

})

Try the d3r package in your browser

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

d3r documentation built on Oct. 2, 2023, 5:08 p.m.