Running ‘testthat.R’ [4s/258s]
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_B0F2B4, CON_B6A8R8, CON_E9PUL5, CON_A1Y9I9, CON_B2RX12, CON_A2AN08, CON_E9Q5K4, CON_B9EJ86, CON_E9PZ19, CON_A0A140LI88, ...) and removed from the query.
  Field 'accession_id' with no valid entries has been removed from query.
  600 invalid values were found (CON_A2ASZ8, CON_B1AVY7, CON_A2ABV5, CON_E9Q5R7, CON_E9Q4Z2, CON_A2A863, CON_B2RXS4, CON_B2RY04, CON_A7RDN6, CON_A8VU90, ...) 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, CON_P22682, P226) and removed from the query.
  
  UniProt API request failed : 
  Client error: (404) Not Found
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%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-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")
  ── 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 2 | WARN 0 | SKIP 0 | PASS 31 ]
  Error: Test failures
  Execution halted