Running ‘testthat.R’ [4s/323s]
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'
  Request failed : Error in curl::curl_fetch_memory(url, handle = handle) : 
    HTTP/2 stream 25 was not closed cleanly: INTERNAL_ERROR (err 2)
  
  600 invalid values were found (CON_D3Z5S8, CON_A9Q751, CON_A0A5K7RLP0, CON_A0A1W2P872, CON_A2A9C3, CON_B2RW38, CON_C0HKE6, CON_A2AX52, CON_A0A0B4J1G0, CON_C0HKE1, ...) 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 (REV_P47941, P226, CON_P22682) and removed from the query.
  
  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 4 | WARN 0 | SKIP 0 | PASS 29 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-get_uniprot_data.R:20:5'): Query with a single UniProt identifier works ──
  res$content[["Entry"]] (`actual`) not equal to "P22682" (`expected`).
  
  `actual`:   "Error encountered when streaming data. Please try again later."
  `expected`: "P22682"                                                        
  ── Error ('test-get_uniprot_data.R:86:3'): Query with only non valid entries works ──
  Error in `if (res$status == 200) {
      expect_equal(length(res$content$Entry), 0)
  } else {
      expect_true(length(res$messages) > 0)
  }`: argument is of length zero
  ── Failure ('test-query_uniprot.R:16:5'): Long queries work ────────────────────
  setequal(res[["Entry"]], ids) (`actual`) not equal to TRUE (`expected`).
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-query_uniprot.R:28:5'): Long queries with no columns defined work ──
  setequal(res[["Entry"]], ids) (`actual`) not equal to TRUE (`expected`).
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 29 ]
  Error: Test failures
  Execution halted