tests/testthat/test_username.R

context("test-test_username-r")

test_that("test authenticating user name", {
  skip_on_cran()
  token <- readRDS("twitter_tokens")
  sn <- rtweet:::authenticating_user_name(token)
  expect_equal(sn, "kearneymw")
})

Try the rtweet package in your browser

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

rtweet documentation built on Jan. 11, 2020, 9:11 a.m.