Running ‘testthat.R’ [6s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RColetum)
  > 
  > test_check("RColetum")
  ── 1. Failure: error by wrong idForm or nameForm (@test-GetAnswers.R#642)  ─────
  `GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5715)` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Error 503: \n"
  Backtrace:
   1. testthat::expect_error(...)
   6. RColetum::GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5715)
   7. RColetum::GetFormStructure(token, idForm)
   8. RColetum:::requestFunction(query = query, token = token)
  
  ── 2. Failure: error by wrong idForm or nameForm (@test-GetAnswers.R#647)  ─────
  `GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", nameForm = "RColetum Test - NaN")` threw an error with unexpected message.
  Expected match: "Name not found."
  Actual message: "Error 503: \n"
  Backtrace:
   1. testthat::expect_error(...)
   6. RColetum::GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", nameForm = "RColetum Test - NaN")
   7. RColetum:::searchFormIdByName(nameForm, token)
   8. RColetum::GetForms(token)
   9. RColetum:::requestFunction(query = query, token = token)
  
  ── 3. Failure: error by wrong idForm or nameForm (@test-GetAnswers.R#653)  ─────
  `GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5841, "RColetum Test - NaN")` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Error 503: \n"
  Backtrace:
    1. testthat::expect_warning(...)
   11. RColetum::GetAnswers(...)
   12. RColetum::GetFormStructure(token, idForm)
   13. RColetum:::requestFunction(query = query, token = token)
  
  ── 4. Failure: error by wrong idForm or nameForm (@test-GetAnswers.R#662)  ─────
  `GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5715, "RColetum Test - Iris")` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Error 503: \n"
  Backtrace:
    1. testthat::expect_warning(...)
   11. RColetum::GetAnswers(...)
   12. RColetum::GetFormStructure(token, idForm)
   13. RColetum:::requestFunction(query = query, token = token)
  
  ── 5. Failure: errors in the bad use of filters parameters (@test-GetAnswers.R#6
  `GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5705, source = "web")` threw an error with unexpected message.
  Expected match: "The option 'web' are not avaliable for the filter 'source'. The avaliable options to this filter are: 'web_public' or 'web_private' or 'mobile'."
  Actual message: "Error 503: \n"
  Backtrace:
   1. testthat::expect_error(...)
   6. RColetum::GetAnswers(...)
   7. RColetum::GetFormStructure(token, idForm)
   8. RColetum:::requestFunction(query = query, token = token)
  
  ── 6. Failure: errors in the bad use of filters parameters (@test-GetAnswers.R#6
  `GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5705, source = "private")` threw an error with unexpected message.
  Expected match: "The option 'private' are not avaliable for the filter 'source'. The avaliable options to this filter are: 'web_public' or 'web_private' or 'mobile'."
  Actual message: "Error 503: \n"
  Backtrace:
   1. testthat::expect_error(...)
   6. RColetum::GetAnswers(...)
   7. RColetum::GetFormStructure(token, idForm)
   8. RColetum:::requestFunction(query = query, token = token)
  
  ── 7. Error: warming when is informed the idForm and nameForm (@test-GetAnswers.
  
  Backtrace:
   1. testthat::expect_warning(...)
   6. RColetum::GetAnswers(...)
   7. RColetum::GetFormStructure(token, idForm)
   8. RColetum:::requestFunction(query = query, token = token)
  
  ── 8. Error: get answers in simple form (@test-GetAnswers.R#765)  ──────────────
  
  Backtrace:
   1. RColetum::GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5705)
   2. RColetum::GetFormStructure(token, idForm)
   3. RColetum:::requestFunction(query = query, token = token)
  
  ── 9. Error: get answers in more complex forms (@test-GetAnswers.R#898)  ───────
  
  Backtrace:
   1. RColetum::GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5719)
   2. RColetum::GetFormStructure(token, idForm)
   3. RColetum:::requestFunction(query = query, token = token)
  
  ── 10. Error: get answers in single data frame (@test-GetAnswers.R#911)  ───────
  
  Backtrace:
   1. RColetum::GetAnswers(...)
   2. RColetum::GetFormStructure(token, idForm)
   3. RColetum:::requestFunction(query = query, token = token)
  
  ── 11. Error: Test GetAnswers on a single data frame in a very complex forms,
    
  
  Backtrace:
   1. RColetum::GetAnswers(...)
   2. RColetum::GetFormStructure(token, idForm)
   3. RColetum:::requestFunction(query = query, token = token)
  
  ── 12. Failure: error by wrong idForm or nameForm (@test-GetFormStructure.R#15) 
  `GetFormStructure("cizio7xeohwgc8k4g4koo008kkoocwg", 5715)` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Error 503: \n"
  Backtrace:
   1. testthat::expect_error(...)
   6. RColetum::GetFormStructure(...)
   7. RColetum:::requestFunction(query = query, token = token)
  
  ── 13. Failure: error by wrong idForm or nameForm (@test-GetFormStructure.R#20) 
  `GetFormStructure("cizio7xeohwgc8k4g4koo008kkoocwg", nameForm = "RColetum Test - NaN")` threw an error with unexpected message.
  Expected match: "Name not found."
  Actual message: "Error 503: \n"
  Backtrace:
   1. testthat::expect_error(...)
   6. RColetum::GetFormStructure(...)
   7. RColetum:::searchFormIdByName(nameForm, token)
   8. RColetum::GetForms(token)
   9. RColetum:::requestFunction(query = query, token = token)
  
  ── 14. Failure: error by wrong idForm or nameForm (@test-GetFormStructure.R#26) 
  `GetFormStructure("cizio7xeohwgc8k4g4koo008kkoocwg", 5841, "RColetum Test - NaN")` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Error 503: \n"
  Backtrace:
    1. testthat::expect_warning(...)
   11. RColetum::GetFormStructure(...)
   12. RColetum:::requestFunction(query = query, token = token)
  
  ── 15. Failure: error by wrong idForm or nameForm (@test-GetFormStructure.R#35) 
  `GetFormStructure("cizio7xeohwgc8k4g4koo008kkoocwg", 5715, "RColetum Test - Iris")` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Error 503: \n"
  Backtrace:
    1. testthat::expect_warning(...)
   11. RColetum::GetFormStructure(...)
   12. RColetum:::requestFunction(query = query, token = token)
  
  ── 16. Error: Warming when is informed the idForm and nameForm (@test-GetFormStr
  
  Backtrace:
   1. testthat::expect_warning(...)
   6. RColetum::GetFormStructure(...)
   7. RColetum:::requestFunction(query = query, token = token)
  
  ── 17. Error: GetFormStructure in simple form (@test-GetFormStructure.R#111)  ──
  
  Backtrace:
   1. RColetum::GetFormStructure(...)
   2. RColetum:::requestFunction(query = query, token = token)
  
  ── 18. Error: GetFormStructure in complex and nested form (@test-GetFormStructur
  
  Backtrace:
   1. RColetum::GetFormStructure(...)
   2. RColetum:::requestFunction(query = query, token = token)
  
  ── 19. Error: get forms with no filter (@test-GetForms.R#74)  ──────────────────
  
  Backtrace:
   1. dplyr::arrange(...)
   2. RColetum::GetForms("cizio7xeohwgc8k4g4koo008kkoocwg")
   3. RColetum:::requestFunction(query = query, token = token)
  
  ── 20. Error: get forms with the filters (@test-GetForms.R#81)  ────────────────
  
  Backtrace:
   1. RColetum::GetForms("cizio7xeohwgc8k4g4koo008kkoocwg", status = "disabled")
   2. RColetum:::requestFunction(query = query, token = token)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 25 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 20 ]
  1. Failure: error by wrong idForm or nameForm (@test-GetAnswers.R#642) 
  2. Failure: error by wrong idForm or nameForm (@test-GetAnswers.R#647) 
  3. Failure: error by wrong idForm or nameForm (@test-GetAnswers.R#653) 
  4. Failure: error by wrong idForm or nameForm (@test-GetAnswers.R#662) 
  5. Failure: errors in the bad use of filters parameters (@test-GetAnswers.R#686) 
  6. Failure: errors in the bad use of filters parameters (@test-GetAnswers.R#695) 
  7. Error: warming when is informed the idForm and nameForm (@test-GetAnswers.R#756) 
  8. Error: get answers in simple form (@test-GetAnswers.R#765) 
  9. Error: get answers in more complex forms (@test-GetAnswers.R#898) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted