tests/testthat/test-req_errors.R

test_that("req_error works", {
  testing_with_authentication("bearer_testing_app")
  expect_error(user_blocked("407200271", n = Inf))
})

Try the rtweet package in your browser

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

rtweet documentation built on May 29, 2024, 7:47 a.m.