tests/testthat/test_replyr_summary.R

library('replyr')

context("summary")

test_that("test_replyr_summary.R", {
  d <- data.frame(
    x = c(NA, 2, 3),
    y = factor(c(3, 5, NA)),
    z = c('a', NA, 'z'),
    stringsAsFactors = FALSE
  )
  replyr_summary(d)

})

Try the replyr package in your browser

Any scripts or data that you put into this service are public.

replyr documentation built on Nov. 1, 2019, 7:49 p.m.