tests/testthat/test-download.R

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

  expect_error(
    download_ms_patient(
      id = 200,
      cohort = "cross_sectional",
      data = "raw")
  )
})
muschellij2/msdata documentation built on June 13, 2018, 1:47 a.m.