tests/testthat/test_eventReq.r

context('eventReq')

#TODO: I think this is out dated
test_that('Get event data for a single sensor type', {

  expect_equal(
    eventReq(studyid=2911040, attributes='timestamp'),
    'https://www.movebank.org/movebank/service/direct-read?entity_type=event&study_id=2911040'
  )

})
benscarlson/rmoveapi documentation built on April 2, 2022, 9:49 a.m.