Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(polished)
  > library(httr)
  > 
  > test_check("polished")
  Polished API request failed
  Status Code: 400 
  Polished API request failed
  Status Code: 500 
  Polished API request failed
  Status Code: 500 
  Polished API request failed
  Status Code: 500 
  Polished API request failed
  Status Code: 400 
  Polished API request failed
  Status Code: 500 
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 39 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-api-02-users.R:17:3): can add a user to an account ──────────────
  Error: mailgun_api_fail
  Backtrace:
      ▆
   1. └─polished::add_user(email = test_email) at test-api-02-users.R:17:2
   2.   └─polished::polished_api_res(resp)
  ── Failure (test-api-02-users.R:52:3): can get a app by email ──────────────────
  nrow(api_res$content) (`actual`) not equal to 1L (`expected`).
  
    `actual`: 0
  `expected`: 1
  ── Failure (test-api-02-users.R:62:3): can get a user by user_uid ──────────────
  nrow(api_res$content) (`actual`) not equal to 1L (`expected`).
  
    `actual`: 74
  `expected`:  1
  ── Error (test-api-02-users.R:68:3): can delete a user ─────────────────────────
  Error: argument "user_uid" is missing, with no default
  Backtrace:
      ▆
   1. └─polished::delete_user(user_uid = test_user_info$uid) at test-api-02-users.R:68:2
   2.   └─polished::polished_api_res(resp)
  ── Error (test-api-03-app-users.R:13:3): (code run outside of `test_that()`) ───
  Error: mailgun_api_fail
  Backtrace:
      ▆
   1. └─polished::add_user(email = "test1@tychobra.com") at test-api-03-app-users.R:13:2
   2.   └─polished::polished_api_res(resp)
  ── Error (test-api-05-user_roles.R:15:3): (code run outside of `test_that()`) ──
  Error: mailgun_api_fail
  Backtrace:
      ▆
   1. └─polished::add_user(email = "test1@tychobra.com") at test-api-05-user_roles.R:15:2
   2.   └─polished::polished_api_res(resp)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 39 ]
  Error: Test failures
  Execution halted