tests/testthat/test_replyr_filter.R

library('replyr')

context("filter")

test_that("test_replyr_filter.R", {
  values <- c('a', 'c')
  d <- data.frame(
    x = c('a', 'a', 'b', 'b', 'c', 'c'),
    y = 1:6,
    stringsAsFactors = FALSE
  )
  replyr_filter(d, 'x', values)

})
WinVector/replyr documentation built on Oct. 22, 2020, 8:07 p.m.