tests/testthat/test-download.R

test_that("Downloader ", {
  expect_error(
    download_ms_patient(
      id = "patient20",
      cohort = "cross_sectional",
      data = "raw")
  )

  expect_error(
    download_ms_patient(
      id = 20,
      cohort = "cross_sectional",
      data = "raw")
  )
})
muschellij2/msdata documentation built on Jan. 6, 2018, 3:33 p.m.