Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(finna)
  > 
  > test_check("finna")
  Saving _problems/test-fetch_finna-20.R
  Saving _problems/test-fetch_finna-27.R
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 1 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-fetch_finna.R:2:3', 'test-get_finna_records.R:2:3',
    'test-search_publisher.R:2:3', 'test_search_finna.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-fetch_finna.R:20:3'): fetch_finna handles empty facet data ─────
  Error in `fetch_finna(query = "nonexistent_query")`: API request failed. Status code: 403
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(fetch_finna(query = "nonexistent_query")) at test-fetch_finna.R:20:3
   2. │ └─base::withCallingHandlers(...)
   3. └─finna::fetch_finna(query = "nonexistent_query")
  ── Error ('test-fetch_finna.R:27:3'): fetch_finna handles parameters correctly ──
  Error in `fetch_finna(query = "record_format:ead", limit = 5)`: API request failed. Status code: 403
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-fetch_finna.R:27:3
   2. │ └─base::withCallingHandlers(...)
   3. └─finna::fetch_finna(query = "record_format:ead", limit = 5)
  
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted
Running ‘testthat.R’ [5s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(finna)
  > 
  > test_check("finna")
  Saving _problems/test-fetch_finna-20.R
  Saving _problems/test-fetch_finna-27.R
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 1 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-fetch_finna.R:2:3', 'test-get_finna_records.R:2:3',
    'test-search_publisher.R:2:3', 'test_search_finna.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-fetch_finna.R:20:3'): fetch_finna handles empty facet data ─────
  Error in `fetch_finna(query = "nonexistent_query")`: API request failed. Status code: 403
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(fetch_finna(query = "nonexistent_query")) at test-fetch_finna.R:20:3
   2. │ └─base::withCallingHandlers(...)
   3. └─finna::fetch_finna(query = "nonexistent_query")
  ── Error ('test-fetch_finna.R:27:3'): fetch_finna handles parameters correctly ──
  Error in `fetch_finna(query = "record_format:ead", limit = 5)`: API request failed. Status code: 403
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-fetch_finna.R:27:3
   2. │ └─base::withCallingHandlers(...)
   3. └─finna::fetch_finna(query = "record_format:ead", limit = 5)
  
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(finna)
  > 
  > test_check("finna")
  Saving _problems/test-fetch_finna-20.R
  Saving _problems/test-fetch_finna-27.R
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 1 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-fetch_finna.R:2:3', 'test-get_finna_records.R:2:3',
    'test-search_publisher.R:2:3', 'test_search_finna.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-fetch_finna.R:20:3'): fetch_finna handles empty facet data ─────
  Error in `fetch_finna(query = "nonexistent_query")`: API request failed. Status code: 403
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(fetch_finna(query = "nonexistent_query")) at test-fetch_finna.R:20:3
   2. │ └─base::withCallingHandlers(...)
   3. └─finna::fetch_finna(query = "nonexistent_query")
  ── Error ('test-fetch_finna.R:27:3'): fetch_finna handles parameters correctly ──
  Error in `fetch_finna(query = "record_format:ead", limit = 5)`: API request failed. Status code: 403
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-fetch_finna.R:27:3
   2. │ └─base::withCallingHandlers(...)
   3. └─finna::fetch_finna(query = "record_format:ead", limit = 5)
  
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted