tests/testthat/test-github.R

context("Load packages from GitHub")

test_that("Can find ", {
  expect_false(available_on_github("svrepmisc")$available)
})

test_that("Can't find made up package", {
  expect_true(available_on_github("This_is_not_a_pkg")$available)
})

Try the available package in your browser

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

available documentation built on July 18, 2018, 5:04 p.m.