Skip to content

Commit 95cc431

Browse files
committed
permalink to isosurface mock; skip on CRAN
1 parent 52bde42 commit 95cc431

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

tests/testthat/test-plotly-isosurface.R

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
context("isosurface")
22

3-
# get the values/x/y/z from the plotly.js mock this test is based on
4-
mock <- jsonlite::fromJSON(
5-
"https://raw.githubusercontent.com/plotly/plotly.js/master/test/image/mocks/gl3d_isosurface_log-axis_slices_surface-fill.json",
6-
simplifyVector = FALSE
7-
)
8-
93
test_that("isosurface works with colorscale", {
4+
skip_on_cran()
5+
6+
# get the values/x/y/z from the plotly.js mock this test is based on
7+
mock <- jsonlite::fromJSON(
8+
"https://raw.githubusercontent.com/plotly/plotly.js/32738b549dff09eb4e9a095cebc750a3a8ae1ffd/test/image/mocks/gl3d_isosurface_log-axis_slices_surface-fill.json",
9+
simplifyVector = FALSE
10+
)
11+
1012
p <- plot_ly(
1113
type = "isosurface",
1214
colorscale = "Rainbow",

0 commit comments

Comments
 (0)