Running 'testthat.R' [30s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RColetum)
  > 
  > test_check("RColetum")
  [ FAIL 26 | WARN 0 | SKIP 0 | PASS 19 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-GetAnswers.R:603:3'): error by wrong token ───────────────────
  `GetAnswers("notexisttoken", 5705)` threw an error with unexpected message.
  Expected match: "Error 401: O token informado não é válido para o acesso."
  Actual message: "Timeout was reached: [www.coletum.com] Resolving timed out after 10006 milliseconds"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(GetAnswers("notexisttoken", 5705), "Error 401: O token informado não é válido para o acesso.") at test-GetAnswers.R:603:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetAnswers("notexisttoken", 5705)
    7.   └─RColetum::GetFormStructure(token, idForm)
    8.     └─RColetum:::requestFunction(query = query, token = token)
    9.       └─httr::GET(...)
   10.         └─httr:::request_perform(req, hu$handle$handle)
   11.           ├─httr:::request_fetch(req$output, req$url, handle)
   12.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetAnswers.R:607:3'): error by wrong token ───────────────────
  `GetAnswers("", 5705)` threw an error with unexpected message.
  Expected match: "Error 401: Unauthorized"
  Actual message: "Timeout was reached: [www.coletum.com] Resolving timed out after 10012 milliseconds"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(GetAnswers("", 5705), "Error 401: Unauthorized") at test-GetAnswers.R:607:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetAnswers("", 5705)
    7.   └─RColetum::GetFormStructure(token, idForm)
    8.     └─RColetum:::requestFunction(query = query, token = token)
    9.       └─httr::GET(...)
   10.         └─httr:::request_perform(req, hu$handle$handle)
   11.           ├─httr:::request_fetch(req$output, req$url, handle)
   12.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetAnswers.R:614:3'): error by wrong idForm or nameForm ──────
  `GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5715)` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-GetAnswers.R:614:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5715)
    7.   └─RColetum::GetFormStructure(token, idForm)
    8.     └─RColetum:::requestFunction(query = query, token = token)
    9.       └─httr::GET(...)
   10.         └─httr:::request_perform(req, hu$handle$handle)
   11.           ├─httr:::request_fetch(req$output, req$url, handle)
   12.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetAnswers.R:619:3'): error by wrong idForm or nameForm ──────
  `GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", nameForm = "RColetum Test - NaN")` threw an error with unexpected message.
  Expected match: "Name not found."
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-GetAnswers.R:619:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", nameForm = "RColetum Test - NaN")
    7.   └─RColetum:::searchFormIdByName(nameForm, token)
    8.     └─RColetum::GetForms(token)
    9.       └─RColetum:::requestFunction(query = query, token = token)
   10.         └─httr::GET(...)
   11.           └─httr:::request_perform(req, hu$handle$handle)
   12.             ├─httr:::request_fetch(req$output, req$url, handle)
   13.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   14.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetAnswers.R:625:3'): error by wrong idForm or nameForm ──────
  `GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5841, "RColetum Test - NaN")` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-GetAnswers.R:625:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─testthat::expect_error(...)
    7. │ └─testthat:::quasi_capture(...)
    8. │   ├─testthat (local) .capture(...)
    9. │   │ └─base::withCallingHandlers(...)
   10. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   11. └─RColetum::GetAnswers(...)
   12.   └─RColetum::GetFormStructure(token, idForm)
   13.     └─RColetum:::requestFunction(query = query, token = token)
   14.       └─httr::GET(...)
   15.         └─httr:::request_perform(req, hu$handle$handle)
   16.           ├─httr:::request_fetch(req$output, req$url, handle)
   17.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   18.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetAnswers.R:634:3'): error by wrong idForm or nameForm ──────
  `GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5715, "RColetum Test - Iris")` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-GetAnswers.R:634:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─testthat::expect_error(...)
    7. │ └─testthat:::quasi_capture(...)
    8. │   ├─testthat (local) .capture(...)
    9. │   │ └─base::withCallingHandlers(...)
   10. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   11. └─RColetum::GetAnswers(...)
   12.   └─RColetum::GetFormStructure(token, idForm)
   13.     └─RColetum:::requestFunction(query = query, token = token)
   14.       └─httr::GET(...)
   15.         └─httr:::request_perform(req, hu$handle$handle)
   16.           ├─httr:::request_fetch(req$output, req$url, handle)
   17.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   18.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetAnswers.R:658:3'): errors in the bad use of filters parameters ──
  `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: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-GetAnswers.R:658:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetAnswers(...)
    7.   └─RColetum::GetFormStructure(token, idForm)
    8.     └─RColetum:::requestFunction(query = query, token = token)
    9.       └─httr::GET(...)
   10.         └─httr:::request_perform(req, hu$handle$handle)
   11.           ├─httr:::request_fetch(req$output, req$url, handle)
   12.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetAnswers.R:667:3'): errors in the bad use of filters parameters ──
  `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: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-GetAnswers.R:667:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetAnswers(...)
    7.   └─RColetum::GetFormStructure(token, idForm)
    8.     └─RColetum:::requestFunction(query = query, token = token)
    9.       └─httr::GET(...)
   10.         └─httr:::request_perform(req, hu$handle$handle)
   11.           ├─httr:::request_fetch(req$output, req$url, handle)
   12.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-GetAnswers.R:728:3'): warming when is informed the idForm and nameForm ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.coletum.com
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-GetAnswers.R:728:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetAnswers(...)
    7.   └─RColetum::GetFormStructure(token, idForm)
    8.     └─RColetum:::requestFunction(query = query, token = token)
    9.       └─httr::GET(...)
   10.         └─httr:::request_perform(req, hu$handle$handle)
   11.           ├─httr:::request_fetch(req$output, req$url, handle)
   12.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-GetAnswers.R:737:3'): get answers in simple form ───────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.coletum.com
  Backtrace:
      ▆
   1. └─RColetum::GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5705) at test-GetAnswers.R:737:2
   2.   └─RColetum::GetFormStructure(token, idForm)
   3.     └─RColetum:::requestFunction(query = query, token = token)
   4.       └─httr::GET(...)
   5.         └─httr:::request_perform(req, hu$handle$handle)
   6.           ├─httr:::request_fetch(req$output, req$url, handle)
   7.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   8.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-GetAnswers.R:870:3'): get answers in more complex forms ────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.coletum.com
  Backtrace:
      ▆
   1. └─RColetum::GetAnswers("cizio7xeohwgc8k4g4koo008kkoocwg", 5719) at test-GetAnswers.R:870:2
   2.   └─RColetum::GetFormStructure(token, idForm)
   3.     └─RColetum:::requestFunction(query = query, token = token)
   4.       └─httr::GET(...)
   5.         └─httr:::request_perform(req, hu$handle$handle)
   6.           ├─httr:::request_fetch(req$output, req$url, handle)
   7.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   8.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-GetAnswers.R:883:3'): get answers in single data frame ─────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.coletum.com
  Backtrace:
      ▆
   1. └─RColetum::GetAnswers(...) at test-GetAnswers.R:883:2
   2.   └─RColetum::GetFormStructure(token, idForm)
   3.     └─RColetum:::requestFunction(query = query, token = token)
   4.       └─httr::GET(...)
   5.         └─httr:::request_perform(req, hu$handle$handle)
   6.           ├─httr:::request_fetch(req$output, req$url, handle)
   7.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   8.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-GetAnswersComplexForm.R:75162:3'): Test GetAnswers on a single data frame in a very complex forms,
            using complex group,relaitonal questions and question with N
            answers. ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.coletum.com
  Backtrace:
      ▆
   1. └─RColetum::GetAnswers(...) at test-GetAnswersComplexForm.R:75162:2
   2.   └─RColetum::GetFormStructure(token, idForm)
   3.     └─RColetum:::requestFunction(query = query, token = token)
   4.       └─httr::GET(...)
   5.         └─httr:::request_perform(req, hu$handle$handle)
   6.           ├─httr:::request_fetch(req$output, req$url, handle)
   7.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   8.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetFormStructure.R:4:3'): error by wrong token ───────────────
  `GetFormStructure("notexisttoken", 5705)` threw an error with unexpected message.
  Expected match: "Error 401: O token informado não é válido para o acesso."
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-GetFormStructure.R:4:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetFormStructure("notexisttoken", 5705)
    7.   └─RColetum:::requestFunction(query = query, token = token)
    8.     └─httr::GET(...)
    9.       └─httr:::request_perform(req, hu$handle$handle)
   10.         ├─httr:::request_fetch(req$output, req$url, handle)
   11.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetFormStructure.R:8:3'): error by wrong token ───────────────
  `GetFormStructure("", 5705)` threw an error with unexpected message.
  Expected match: "Error 401: Unauthorized"
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(GetFormStructure("", 5705), "Error 401: Unauthorized") at test-GetFormStructure.R:8:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetFormStructure("", 5705)
    7.   └─RColetum:::requestFunction(query = query, token = token)
    8.     └─httr::GET(...)
    9.       └─httr:::request_perform(req, hu$handle$handle)
   10.         ├─httr:::request_fetch(req$output, req$url, handle)
   11.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetFormStructure.R:15:3'): error by wrong idForm or nameForm ──
  `GetFormStructure("cizio7xeohwgc8k4g4koo008kkoocwg", 5715)` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-GetFormStructure.R:15:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetFormStructure(...)
    7.   └─RColetum:::requestFunction(query = query, token = token)
    8.     └─httr::GET(...)
    9.       └─httr:::request_perform(req, hu$handle$handle)
   10.         ├─httr:::request_fetch(req$output, req$url, handle)
   11.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetFormStructure.R:20:3'): error by wrong idForm or nameForm ──
  `GetFormStructure("cizio7xeohwgc8k4g4koo008kkoocwg", nameForm = "RColetum Test - NaN")` threw an error with unexpected message.
  Expected match: "Name not found."
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-GetFormStructure.R:20:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetFormStructure(...)
    7.   └─RColetum:::searchFormIdByName(nameForm, token)
    8.     └─RColetum::GetForms(token)
    9.       └─RColetum:::requestFunction(query = query, token = token)
   10.         └─httr::GET(...)
   11.           └─httr:::request_perform(req, hu$handle$handle)
   12.             ├─httr:::request_fetch(req$output, req$url, handle)
   13.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   14.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetFormStructure.R:26:3'): error by wrong idForm or nameForm ──
  `GetFormStructure("cizio7xeohwgc8k4g4koo008kkoocwg", 5841, "RColetum Test - NaN")` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-GetFormStructure.R:26:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─testthat::expect_error(...)
    7. │ └─testthat:::quasi_capture(...)
    8. │   ├─testthat (local) .capture(...)
    9. │   │ └─base::withCallingHandlers(...)
   10. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   11. └─RColetum::GetFormStructure(...)
   12.   └─RColetum:::requestFunction(query = query, token = token)
   13.     └─httr::GET(...)
   14.       └─httr:::request_perform(req, hu$handle$handle)
   15.         ├─httr:::request_fetch(req$output, req$url, handle)
   16.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   17.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetFormStructure.R:35:3'): error by wrong idForm or nameForm ──
  `GetFormStructure("cizio7xeohwgc8k4g4koo008kkoocwg", 5715, "RColetum Test - Iris")` threw an error with unexpected message.
  Expected match: "Form not found."
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-GetFormStructure.R:35:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─testthat::expect_error(...)
    7. │ └─testthat:::quasi_capture(...)
    8. │   ├─testthat (local) .capture(...)
    9. │   │ └─base::withCallingHandlers(...)
   10. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   11. └─RColetum::GetFormStructure(...)
   12.   └─RColetum:::requestFunction(query = query, token = token)
   13.     └─httr::GET(...)
   14.       └─httr:::request_perform(req, hu$handle$handle)
   15.         ├─httr:::request_fetch(req$output, req$url, handle)
   16.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   17.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-GetFormStructure.R:52:3'): Warming when is informed the idForm and nameForm ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.coletum.com
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-GetFormStructure.R:52:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetFormStructure(...)
    7.   └─RColetum:::requestFunction(query = query, token = token)
    8.     └─httr::GET(...)
    9.       └─httr:::request_perform(req, hu$handle$handle)
   10.         ├─httr:::request_fetch(req$output, req$url, handle)
   11.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-GetFormStructure.R:111:3'): GetFormStructure in simple form ────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.coletum.com
  Backtrace:
      ▆
   1. └─RColetum::GetFormStructure(...) at test-GetFormStructure.R:111:2
   2.   └─RColetum:::requestFunction(query = query, token = token)
   3.     └─httr::GET(...)
   4.       └─httr:::request_perform(req, hu$handle$handle)
   5.         ├─httr:::request_fetch(req$output, req$url, handle)
   6.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   7.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-GetFormStructure.R:221:3'): GetFormStructure in complex and nested form ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.coletum.com
  Backtrace:
      ▆
   1. └─RColetum::GetFormStructure(...) at test-GetFormStructure.R:221:2
   2.   └─RColetum:::requestFunction(query = query, token = token)
   3.     └─httr::GET(...)
   4.       └─httr:::request_perform(req, hu$handle$handle)
   5.         ├─httr:::request_fetch(req$output, req$url, handle)
   6.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   7.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetForms.R:38:3'): error by wrong token ──────────────────────
  `GetForms("notexisttoken")` threw an error with unexpected message.
  Expected match: "Error 401: O token informado não é válido para o acesso."
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(GetForms("notexisttoken"), "Error 401: O token informado não é válido para o acesso.") at test-GetForms.R:38:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetForms("notexisttoken")
    7.   └─RColetum:::requestFunction(query = query, token = token)
    8.     └─httr::GET(...)
    9.       └─httr:::request_perform(req, hu$handle$handle)
   10.         ├─httr:::request_fetch(req$output, req$url, handle)
   11.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-GetForms.R:42:3'): error by wrong token ──────────────────────
  `GetForms("")` threw an error with unexpected message.
  Expected match: "Error 401: Unauthorized"
  Actual message: "Could not resolve host: www.coletum.com"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(GetForms(""), "Error 401: Unauthorized") at test-GetForms.R:42:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─RColetum::GetForms("")
    7.   └─RColetum:::requestFunction(query = query, token = token)
    8.     └─httr::GET(...)
    9.       └─httr:::request_perform(req, hu$handle$handle)
   10.         ├─httr:::request_fetch(req$output, req$url, handle)
   11.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-GetForms.R:74:5'): get forms with no filter ────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.coletum.com
  Backtrace:
      ▆
   1. ├─dplyr::arrange(...) at test-GetForms.R:74:4
   2. └─RColetum::GetForms("cizio7xeohwgc8k4g4koo008kkoocwg")
   3.   └─RColetum:::requestFunction(query = query, token = token)
   4.     └─httr::GET(...)
   5.       └─httr:::request_perform(req, hu$handle$handle)
   6.         ├─httr:::request_fetch(req$output, req$url, handle)
   7.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   8.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-GetForms.R:81:5'): get forms with the filters ──────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.coletum.com
  Backtrace:
      ▆
   1. └─RColetum::GetForms("cizio7xeohwgc8k4g4koo008kkoocwg", status = "disabled") at test-GetForms.R:81:4
   2.   └─RColetum:::requestFunction(query = query, token = token)
   3.     └─httr::GET(...)
   4.       └─httr:::request_perform(req, hu$handle$handle)
   5.         ├─httr:::request_fetch(req$output, req$url, handle)
   6.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   7.           └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 26 | WARN 0 | SKIP 0 | PASS 19 ]
  Error: Test failures
  Execution halted