tests/testthat/setup-virtuoso.R

testthat::setup({

  if (identical(Sys.getenv("NOT_CRAN"), "true")){

    message("Running one-time install of Virtuoso for tests...")
    wait <- !has_virtuoso()
    vos_install(ask = FALSE)
    if (wait) Sys.sleep(120)
  }

})

Try the virtuoso package in your browser

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

virtuoso documentation built on Nov. 3, 2021, 1:07 a.m.