1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-26 20:46:12 +01:00
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))
})