tests/testthat/test-SetHITAsReviewing.R

test_that("multiplication works", {
  skip_if_not(CheckAWSKeys())

  SearchHITs() -> hits
  hits$HITs$HITId[hits$HITs$HITStatus == 'Reviewable'][[1]] -> hit
  SetHITAsReviewing(hit) -> result1
  SetHITAsReviewing(hit, revert = TRUE) -> result2

  expect_type(result1, "list")
  expect_type(result2, "list")

})

Try the pyMTurkR package in your browser

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

pyMTurkR documentation built on Nov. 25, 2021, 9:07 a.m.