tests/testthat/test-cran.R

context("CRAN")

test_that("available_packages", {

  skip_on_cran()

  pkgs <- available_packages(
    repos = c(CRAN = "http://cran.rstudio.com"),
    type = "source"
  )

  expect_equal(class(pkgs), "matrix")
  
})
metrumresearchgroup/rmotes documentation built on May 18, 2019, 2:35 a.m.