Running ‘testthat.R’ [4s/379s]
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_A2AR95, CON_A2AVJ5, CON_D3YVF0, CON_A2AFS3, CON_A2ASI5, CON_A3KFM7, CON_E9PZJ8, CON_B1AWN6, CON_A2AMT1, CON_D3Z7P3, ...) and removed from the query.
  Field 'accession_id' with no valid entries has been removed from query.
  600 invalid values were found (CON_A3KGS3, CON_A6H639, CON_A2ARP9, CON_B2RY71, CON_E9Q4S1, CON_B2RX14, CON_B2RXZ1, CON_A2AGL3, CON_B5X0E4, CON_A2AKK5, ...) 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, CON_P22682, REV_P47941) and removed from the query.
  Request failed : Error in curl::curl_fetch_memory(url, handle = handle) : 
    HTTP/2 stream 39 was not closed cleanly: INTERNAL_ERROR (err 2)
  
  
  UniProt API request failed : 
  Client error: (404) Not Found
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |======================================================================| 100%
  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 1 | WARN 0 | SKIP 0 | PASS 32 ]
  
  ══ 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
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 32 ]
  Error: Test failures
  Execution halted