tests/testthat/test_get_downloads.R

context("get_downloads")

test_that("Test get download and print", {
  downloads <- get_downloads("DALEX")
  expect_is(downloads, "package_downloads")
  expect_error(print(downloads), NA)
})
DominikRafacz/deepdep documentation built on March 4, 2020, 12:14 p.m.