AMR/tests/testthat/test-print.R

12 lines
310 B
R
Raw Normal View History

context("print.R")
test_that("tibble printing works", {
library(dplyr)
2018-04-20 13:45:34 +02:00
library(data.table)
expect_output(print(starwars))
2018-04-20 13:45:34 +02:00
expect_output(print(starwars %>% group_by(homeworld, gender)))
expect_output(print(starwars %>% as.data.table(), print.keys = TRUE))
expect_output(print(septic_patients))
})