Running ‘testthat.R’ [0m/15m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(queryup)
  > 
  > test_check("queryup")
  Query not supported
  Query not supported
  Query not supported
  Query not supported
  
  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_A7TZE6, CON_A2A6M5, CON_B8ZXI1, CON_E9Q4P1, CON_A2AQ07, CON_A3FIN4, CON_A4Q9E8, CON_E9PZ19, CON_A0A140LI88, CON_A2ARA8, ...) and removed from the query.
  Field 'accession_id' with no valid entries has been removed from query.
  600 invalid values were found (CON_A2ARA8, CON_B1B0V2, CON_E9PUL5, CON_A2AI05, CON_A2AN08, CON_B0F2B4, CON_A2A432, CON_D3Z4I3, CON_A2AHL1, CON_A2A6M5, ...) 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.
  
  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%[ FAIL 1 | WARN 0 | SKIP 0 | PASS 33 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-query_uniprot.R:55'): Query works when multiple fields have more than 'max_keys=200' items ──
  Error in `content$messages`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. └─queryup::query_uniprot(...) at test-query_uniprot.R:55:2
   2.   └─base::lapply(...)
   3.     └─queryup (local) FUN(X[[i]], ...)
   4.       └─base::lapply(...)
   5.         └─queryup (local) FUN(X[[i]], ...)
   6.           └─queryup::get_uniprot_data(...)
   7.             └─base::unlist(content$messages)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 33 ]
  Error: Test failures
  Execution halted