Running 'testthat.R' [348s]
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
  
  Initiating curl with CURL_SSL_BACKEND: openssl
  
  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_B1ATG9, CON_D0QMC3, CON_C0LLJ0, CON_E9PYH6, CON_E9PV87, CON_C0HKE6, CON_E9Q5G7, CON_A2AT37, CON_B2RU80, CON_A2ALV5, ...) and removed from the query.
  Field 'accession_id' with no valid entries has been removed from query.
  Request failed : Error in curl::curl_fetch_memory(url, handle = handle) : 
    HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
  
  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 2 | WARN 0 | SKIP 0 | PASS 31 ]
  
  == Failed tests ================================================================
  -- Error ('test-get_uniprot_data.R:85:3'): Query with only non valid entries works --
  Error: $ operator is invalid for atomic vectors
  Backtrace:
      x
   1. \-queryup::get_uniprot_data(query) at test-get_uniprot_data.R:85:2
   2.   \-queryup::get_uniprot_data(...)
   3.     \-base::unlist(content$messages)
  -- Error ('test-get_uniprot_data.R:98:3'): Query with non valid entries for multiple query fields 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
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 31 ]
  Error: Test failures
  Execution halted