Running 'testthat.R' [16s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(polished)
  > library(httr)
  > 
  > test_check("polished")
  Error in curl::curl_fetch_memory(url, handle = handle) : 
    Could not resolve host: auth-api-dev.polished.tech
  [ FAIL 19 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-api-01-apps.R:6'): can add an app to an account ────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [auth-api-dev.polished.tech] Resolving timed out after 10000 milliseconds
  Backtrace:
      ▆
   1. └─polished::add_app(app_name = test_app_name) at test-api-01-apps.R:6:2
   2.   └─httr::POST(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-01-apps.R:25'): can get all apps for an account ────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::get_apps() at test-api-01-apps.R:25:2
   2.   └─httr::GET(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-01-apps.R:35'): can get an app by app_name ─────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::get_apps(app_name = "test_app") at test-api-01-apps.R:35:2
   2.   └─httr::GET(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-01-apps.R:46'): can get an app by app_uid ──────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::get_apps(app_uid = test_app_info$uid) at test-api-01-apps.R:46:2
   2.   └─httr::GET(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-01-apps.R:57'): can update an app ──────────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::update_app(...) at test-api-01-apps.R:57:2
   2.   └─httr::PUT(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-01-apps.R:70'): can delete an app ──────────────────────────
  Error: `app_uid` and `app_name` cannot both be `NULL`
  Backtrace:
      ▆
   1. └─polished::delete_app(app_uid = test_app_info$uid) at test-api-01-apps.R:70:2
  ── Error ('test-api-02-users.R:17'): can add a user to an account ──────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::add_user(email = test_email) at test-api-02-users.R:17:2
   2.   └─httr::POST(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-02-users.R:37'): can get all users for an account ──────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::get_users() at test-api-02-users.R:37:2
   2.   └─httr::GET(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-02-users.R:47'): can get a app by email ────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::get_users(email = test_email) at test-api-02-users.R:47:2
   2.   └─httr::GET(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-02-users.R:57'): can get a user by user_uid ────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::get_users(user_uid = test_user_info$uid) at test-api-02-users.R:57:2
   2.   └─httr::GET(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-02-users.R:67'): can update a user's 2FA code ──────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::update_user(user_uid = test_user_info$uid, user_data = list(two_fa_code = "placeholder_code")) at test-api-02-users.R:67:2
   2.   └─httr::PUT(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-02-users.R:81'): can update a user's password to NA ────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::update_user(user_uid = test_user_info$uid, user_data = list(password = NA)) at test-api-02-users.R:81:2
   2.   └─httr::PUT(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-02-users.R:97'): can delete a user ─────────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::delete_user(user_uid = test_user_info$uid) at test-api-02-users.R:97:2
   2.   └─httr::DELETE(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-03-app-users.R:3'): (code run outside of `test_that()`) ────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::get_apps(app_name = "polished_test") at test-api-03-app-users.R:3:0
   2.   └─httr::GET(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-04-roles.R:7'): can add a role to an account ───────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::add_role(role_name = test_role) at test-api-04-roles.R:7:2
   2.   └─httr::POST(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-04-roles.R:28'): can get all roles for an account ──────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::get_roles() at test-api-04-roles.R:28:2
   2.   └─httr::GET(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-04-roles.R:39'): can get a role by uid ─────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::get_roles(role_uid = role_info$uid) at test-api-04-roles.R:39:2
   2.   └─httr::GET(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-04-roles.R:52'): can delete a role ─────────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::delete_role(role_uid = role_info$uid) at test-api-04-roles.R:52:2
   2.   └─httr::DELETE(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-api-05-user_roles.R:5'): (code run outside of `test_that()`) ───
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: auth-api-dev.polished.tech
  Backtrace:
      ▆
   1. └─polished::get_roles(role_uid = "da782793-cfac-45c1-8a55-02af4ce6011e") at test-api-05-user_roles.R:5:0
   2.   └─httr::GET(...)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 19 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted