fixed check

This commit is contained in:
pvictor 2020-02-14 17:47:19 +01:00
parent b97073f540
commit 8d5cfa631e
3 changed files with 3 additions and 8 deletions

View File

@ -19,12 +19,12 @@ Imports:
magrittr,
rlang,
ggplot2,
scales,
jsonlite
Suggests:
testthat,
dplyr,
knitr,
scales,
rmarkdown,
shiny,
gapminder,

View File

@ -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)))

View File

@ -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")
})