tests/testthat/test-collections.R

test_that("Simple Collections Call", {

  res = nv_collection(doi = "10.1016/j.neurobiolaging.2012.11.002")
  expect_true(res$response$status_code == 200)

  id = nv_collection_id(name = "FeatureX IAPS Test")
  expect_silent({
    imgs = nv_collection_images(id = id, verbose = FALSE)
  })
})

Try the neurovault package in your browser

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

neurovault documentation built on Jan. 5, 2018, 1:04 a.m.