Skip to content

Commit

Permalink
test: Add skip condition for rglplot test (#1306)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviator-app[bot] authored Mar 22, 2024
2 parents cd33922 + 41fa690 commit 607d64a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testthat/test-plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ test_that("basic plot test, spheres", {
)
})

test_that("rgplot() works", {
test_that("rglplot() works", {
skip_if_not_installed("rgl")

# https://stackoverflow.com/a/46320771/5489251
withr::local_envvar(RGL_USE_NULL = TRUE)
withr::local_seed(42)
Expand Down

0 comments on commit 607d64a

Please sign in to comment.