tests/testthat/test-limits.R

test_that("pagination with rate limits works", {
  skip("requires manual testing")
  # One needs to wait 15 minutes...
  df_follower <- get_followers("CDU", n = 80000L, retryonratelimit = TRUE)
  expect_equal(nrow(df_follower), 80000L)
})

Try the rtweet package in your browser

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

rtweet documentation built on Oct. 17, 2023, 1:11 a.m.