tests/testthat/test-unnest_tweet.R

test_that("unnest_tweet works", {
  tweets <- dplyr::tibble(
    id = 1,
    txt = "@rOpenSci and #rstats see: https://cran.r-project.org"
  )
  expect_snapshot_error(r <- unnest_tweets(tweets, out, txt))
})
juliasilge/tidytext documentation built on April 14, 2024, 2:15 a.m.