Running ‘testthat.R’ [2s/461s]
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
  Request failed : API did not return json
  300 invalid values were found (CON_A2AJB7, CON_A4Q9F3, CON_A2AJ15, CON_B9EJA2, CON_D3Z2R5, CON_E9Q5K9, CON_A2A935, CON_A2ARP1, CON_E9Q5C9, CON_A2A5Z6, ...) and removed from the query.
  Field 'accession_id' with no valid entries has been removed from query.
  600 invalid values were found (CON_D3YYI7, CON_D3Z3K2, CON_A2AAE1, CON_E9Q401, CON_B9EHT4, CON_D2EAC2, CON_A2AD83, CON_A2AKM2, CON_E9Q5F9, CON_E9Q2Z1, ...) 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.
  Request failed : API did not return plain text
  3 invalid values were found (REV_P47941, CON_P22682, P226) and removed from the query.
  Request failed : API did not return json
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%Request failed : API did not return json
  
    |                                                                            
    |=======================                                               |  33%Request failed : API did not return json
  
    |                                                                            
    |===============================================                       |  67%Request failed : API did not return json
  
    |                                                                            
    |======================================================================| 100%
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%Request failed : API did not return json
  
    |                                                                            
    |=======================                                               |  33%Request failed : API did not return json
  
    |                                                                            
    |===============================================                       |  67%Request failed : API did not return json
  
    |                                                                            
    |======================================================================| 100%
  Request failed : API did not return json
  Request failed : API did not return json
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%Request failed : API did not return plain text
  
    |                                                                            
    |==================                                                    |  25%Request failed : API did not return plain text
  
    |                                                                            
    |===================================                                   |  50%Request failed : API did not return json
  
    |                                                                            
    |====================================================                  |  75%Request failed : API did not return json
  
    |                                                                            
    |======================================================================| 100%
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%Request failed : API did not return plain text
  
    |                                                                            
    |==================                                                    |  25%Request failed : API did not return json
  
    |                                                                            
    |===================================                                   |  50%Request failed : API did not return json
  
    |                                                                            
    |====================================================                  |  75%Request failed : API did not return plain text
  
    |                                                                            
    |======================================================================| 100%
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%Request failed : API did not return json
  
    |                                                                            
    |==================                                                    |  25%Request failed : API did not return plain text
  
    |                                                                            
    |===================================                                   |  50%Request failed : API did not return json
  
    |                                                                            
    |====================================================                  |  75%Request failed : API did not return json
  
    |                                                                            
    |======================================================================| 100%
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%Request failed : API did not return plain text
  
    |                                                                            
    |==================                                                    |  25%Request failed : API did not return json
  
    |                                                                            
    |===================================                                   |  50%Request failed : API did not return json
  
    |                                                                            
    |====================================================                  |  75%Request failed : API did not return plain text
  
    |                                                                            
    |======================================================================| 100%
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 16 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (7)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_uniprot_data.R:102:3'): Long queries work ──────────────────
  Error in `basename(file)`: path too long
  Backtrace:
      ▆
   1. └─queryup::get_uniprot_data(query) at test-get_uniprot_data.R:102:2
   2.   └─httr::http_type(resp)
   3.     ├─x$headers[["Content-Type"]] %||% ...
   4.     └─mime::guess_type(x$url, empty = "application/octet-stream")
   5.       └─base::basename(file)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 16 ]
  Error: Test failures
  Execution halted