Running ‘testthat.R’ [2s/464s]
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
  Request failed : API did not return json
  Request failed : API did not return plain text
  300 invalid values were found (CON_E9Q5C9, CON_A2AGH6, CON_B2RXV4, CON_B9EJA2, CON_B1AZI6, CON_B9EJ57, CON_A0JNU3, CON_A2AJB7, CON_A2A6Q5, CON_E9PZ36, ...) and removed from the query.
  Field 'accession_id' with no valid entries has been removed from query.
  Request failed : API did not return json
  600 invalid values were found (CON_D3Z4I3, CON_A2AI05, CON_E9PYY5, CON_B8ZXI1, CON_A4Q9E8, CON_A3KG59, CON_B2RQR8, CON_B2RX12, CON_D3YWP0, CON_A4Q9F4, ...) 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 json
  3 invalid values were found (CON_P22682, P226, REV_P47941) and removed from the query.
  Request failed : API did not return json
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%Request failed : API did not return plain text
  
    |                                                                            
    |=======================                                               |  33%Request failed : API did not return json
  
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |======================================================================| 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 plain text
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%Request failed : API did not return json
  
    |                                                                            
    |==================                                                    |  25%Request failed : API did not return json
  
    |                                                                            
    |===================================                                   |  50%Request failed : API did not return plain text
  
    |                                                                            
    |====================================================                  |  75%Request failed : API did not return json
  
    |                                                                            
    |======================================================================| 100%
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%Request failed : API did not return json
  
    |                                                                            
    |==================                                                    |  25%Request failed : API did not return json
  
    |                                                                            
    |===================================                                   |  50%Request failed : API did not return json
  
    |                                                                            
    |====================================================                  |  75%
    |                                                                            
    |======================================================================| 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 json
  
    |                                                                            
    |======================================================================| 100%
  Querying the UniProt database...
  
    |                                                                            
    |                                                                      |   0%Request failed : API did not return json
  
    |                                                                            
    |==================                                                    |  25%Request failed : API did not return json
  
    |                                                                            
    |===================================                                   |  50%Request failed : API did not return plain text
  
    |                                                                            
    |====================================================                  |  75%Request failed : API did not return plain text
  
    |                                                                            
    |======================================================================| 100%
  [ FAIL 1 | WARN 0 | SKIP 8 | PASS 15 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (8)
  
  ══ 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 8 | PASS 15 ]
  Error: Test failures
  Execution halted