tests/testthat/test-list-channel-activities.R

context("List Channel Activities")

test_that("list_channel_activities runs successfully", {

  skip_on_cran()

  google_token <- readRDS("token_file.rds")$google_token
  options(google_token = google_token)

  get_info <- list_channel_activities(filter =
                                     c(channel_id = "UCRw8bIz2wMLmfgAgWm903cA"))
  expect_that(get_info, is_a("data.frame"))
})

Try the tuber package in your browser

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

tuber documentation built on July 8, 2020, 5:49 p.m.