Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(upwaver)
  > 
  > test_check("upwaver")
  ── 1. Error: content_as_list() works (@test-upwaver.R#12)  ─────────────────────
  unexpected character '<'
  1: content_as_list(request("https://ims-fhs.upwave.io/api/boards/", "a44fa67c5df2acc9836058ffca870d7b78b017cb")) at testthat/test-upwaver.R:12
  2: rjson::fromJSON(json)
  3: stop(x)
  
  ── 2. Error: list_boards() works (@test-upwaver.R#23)  ─────────────────────────
  unexpected character '<'
  1: list_boards("ims-fhs", "a44fa67c5df2acc9836058ffca870d7b78b017cb") at testthat/test-upwaver.R:23
  2: content_as_list(request(url, token))
  3: rjson::fromJSON(json)
  4: stop(x)
  
  ── 3. Error: board_details() works (@test-upwaver.R#44)  ───────────────────────
  unexpected character '<'
  1: board_details("ims-fhs", id, "a44fa67c5df2acc9836058ffca870d7b78b017cb") at testthat/test-upwaver.R:44
  2: content_as_list(request(url, token))
  3: rjson::fromJSON(json)
  4: stop(x)
  
  ── 4. Error: list_cards() works (@test-upwaver.R#55)  ──────────────────────────
  unexpected character '<'
  1: list_cards("ims-fhs", 14351, "a44fa67c5df2acc9836058ffca870d7b78b017cb") at testthat/test-upwaver.R:55
  2: content_as_list(request(url, token))
  3: rjson::fromJSON(json)
  4: stop(x)
  
  ── 5. Error: storypoints() works (@test-upwaver.R#75)  ─────────────────────────
  unexpected character '<'
  1: storypoints_and_status("ims-fhs", 14351, "a44fa67c5df2acc9836058ffca870d7b78b017cb") at testthat/test-upwaver.R:75
  2: upwaver::list_cards(organisation, board_id, token)
  3: content_as_list(request(url, token))
  4: rjson::fromJSON(json)
  5: stop(x)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 6 SKIPPED: 1 FAILED: 5
  1. Error: content_as_list() works (@test-upwaver.R#12) 
  2. Error: list_boards() works (@test-upwaver.R#23) 
  3. Error: board_details() works (@test-upwaver.R#44) 
  4. Error: list_cards() works (@test-upwaver.R#55) 
  5. Error: storypoints() works (@test-upwaver.R#75) 
  
  Error: testthat unit tests failed
  Execution halted