Nothing
context("retweets")
test_that("get_retweets returns tweets data", {
skip_on_cran()
token <- readRDS("twitter_tokens")
x <- get_retweets("929511061954297857", token = token)
expect_equal(is.data.frame(x), TRUE)
expect_named(x)
expect_true("screen_name" %in% names(x))
})
test_that("get_retweeters returns users", {
skip_on_cran()
token <- readRDS("twitter_tokens")
x <- get_retweeters("929511061954297857", token = token)
expect_equal(is.data.frame(x), TRUE)
expect_named(x)
expect_true("user_id" %in% names(x))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.