fixed check
This commit is contained in:
parent
b97073f540
commit
8d5cfa631e
|
@ -19,12 +19,12 @@ Imports:
|
|||
magrittr,
|
||||
rlang,
|
||||
ggplot2,
|
||||
scales,
|
||||
jsonlite
|
||||
Suggests:
|
||||
testthat,
|
||||
dplyr,
|
||||
knitr,
|
||||
scales,
|
||||
rmarkdown,
|
||||
shiny,
|
||||
gapminder,
|
||||
|
|
|
@ -170,8 +170,3 @@ apex(data = txhousing2, type = "heatmap", mapping = aes(x = date, y = scales::re
|
|||
|
||||
|
||||
|
||||
quote(scales::rescale(volume))
|
||||
|
||||
as_name(quote(scales::rescale(volume)))
|
||||
|
||||
|
||||
|
|
|
@ -44,11 +44,11 @@ test_that("parse_df works with Date/POSIXt", {
|
|||
)
|
||||
res <- parse_df(x, add_names = TRUE)
|
||||
|
||||
expect_is(res[[1]]$date, "character")
|
||||
expect_is(res[[1]]$date, "JS_EVAL")
|
||||
expect_is(res[[1]]$datetime, "numeric")
|
||||
|
||||
res <- parse_df(x, add_names = FALSE)
|
||||
expect_is(res[[1]][[1]], "character")
|
||||
expect_is(res[[1]][[1]], "JS_EVAL")
|
||||
expect_is(res[[1]][[2]], "numeric")
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue