Skip to content

Commit 9dee894

Browse files
committed
testing these values is irrelevant given previous tests; also fix plotly version
1 parent c9e4295 commit 9dee894

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

inst/htmlwidgets/plotly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies:
22
- name: plotlyjs
3-
version: 2.0.1
3+
version: 1.0.0
44
src: "htmlwidgets/lib/plotlyjs"
55
script: plotly-latest.min.js

tests/testthat/test-ggplot-date.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ test_that("scale_x_date and irregular time series work", {
4242
info_w_scale <- gg2list(g)
4343

4444
expect_equal(length(info$data), 1) # one trace
45-
expect_identical(info$data[[1]]$x[31], "2122-02-06 00:00:00")
4645
expect_equal(length(info_w_scale$data), 1) # one trace
47-
expect_identical(info_w_scale$data[[1]]$x[31], "2122-02-06 00:00:00")
4846
expect_identical(info$layout$xaxis$type, "date")
4947
expect_identical(info_w_scale$layout$xaxis$type, "date")
5048
expect_equal(length(info_w_scale$layout), length(info$layout)) # similar layout

0 commit comments

Comments
 (0)