Running ‘testthat.R’ [3s/437s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(queryup)
  > 
  > test_check("queryup")
  Query not supported
  Request failed : Error in handle_url(handle, url, ...) : 
    Must specify at least one of url or handle
  
  Request failed : Error in handle_url(handle, url, ...) : 
    Must specify at least one of url or handle
  
  Query not supported
  Request failed : Error in handle_url(handle, url, ...) : 
    Must specify at least one of url or handle
  
  Request failed : Error in handle_url(handle, url, ...) : 
    Must specify at least one of url or handle
  
  Query not supported
  Request failed : Error in handle_url(handle, url, ...) : 
    Must specify at least one of url or handle
  
  Request failed : Error in handle_url(handle, url, ...) : 
    Must specify at least one of url or handle
  
  Query not supported
  Request failed : Error in handle_url(handle, url, ...) : 
    Must specify at least one of url or handle
  
  Request failed : Error in handle_url(handle, url, ...) : 
    Must specify at least one of url or handle
  
  
  UniProt API request failed : 
  Client error: (404) Not Found
  
  UniProt API request failed : 
  Client error: (400) Bad Request
  'acc_id' is not a valid search field
  
  UniProt API request failed : 
  Client error: (400) Bad Request
  Invalid fields parameter value 'acc_id'
  300 invalid values were found (CON_A2CG49, CON_E9PVD3, CON_A2A974, CON_A0A5K7RLP0, CON_A0A1W2P872, CON_E9Q555, CON_A2ASZ8, CON_B2RUP2, CON_A2A863, CON_C0HKE7, ...) and removed from the query.
  Field 'accession_id' with no valid entries has been removed from query.
  600 invalid values were found (CON_A2ASS6, CON_A2AIW0, CON_A2A825, CON_A3KGV1, CON_A2CG63, CON_A2A5R2, CON_A2AVZ9, CON_A2AF47, CON_A4QPC6, CON_A2AWP0, ...) and removed from the query.
  Field 'accession_id' with no valid entries has been removed from query.
  Field 'accession' with no valid entries has been removed from query.
  3 invalid values were found (P226, REV_P47941, CON_P22682) and removed from the query.
  Request failed : Error in curl::curl_fetch_memory(url, handle = handle) : 
    HTTP/2 stream 41 was not closed cleanly: INTERNAL_ERROR (err 2)
  
  
  UniProt API request failed : 
  Client error: (404) Not Found
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |======================================================================| 100%
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |==================                                                    |  25%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |====================================================                  |  75%
    |                                                                            
    |======================================================================| 100%
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |==================                                                    |  25%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |====================================================                  |  75%
    |                                                                            
    |======================================================================| 100%
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |==================                                                    |  25%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |====================================================                  |  75%
    |                                                                            
    |======================================================================| 100%
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |==================                                                    |  25%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |====================================================                  |  75%
    |                                                                            
    |======================================================================| 100%
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 31 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_uniprot_data.R:126:3'): Long queries work ──────────────────
  Error in `if (res$status == 200) {
      expect_true(setequal(res$content$Entry, ids))
  } else {
      expect_true(length(res$messages) > 0)
  }`: argument is of length zero
  ── Error ('test-query_uniprot.R:14:3'): Long queries work ──────────────────────
  Error in `strsplit(res, split = "\n")`: non-character argument
  Backtrace:
      ▆
   1. └─queryup::query_uniprot(query) at test-query_uniprot.R:14:2
   2.   └─queryup::get_uniprot_data(...)
   3.     └─base::strsplit(res, split = "\n")
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 31 ]
  Error: Test failures
  Execution halted