Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ether)
  > 
  > test_check("ether")
  -- 1. Error: valid protocol version (@test-eth.R#6)  ---------------------------
  $ operator is invalid for atomic vectors
  1: expect_type(eth_protocolVersion(), "integer") at testthat/test-eth.R:6
  2: quasi_label(enquo(object))
  3: eval_bare(get_expr(quo), get_env(quo))
  4: eth_protocolVersion()
  5: get_post_response("eth_protocolVersion") %>% hex_to_number()
  6: eval(lhs, parent, parent)
  7: eval(lhs, parent, parent)
  8: get_post_response("eth_protocolVersion")
  9: POST(url = ethereum_env$rpc_address, content_type_json(), body = body) %>% content("parsed") %>% 
         .$result
  10: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  11: eval(quote(`_fseq`(`_lhs`)), env, env)
  12: eval(quote(`_fseq`(`_lhs`)), env, env)
  13: `_fseq`(`_lhs`)
  14: freduce(value, `_function_list`)
  15: withVisible(function_list[[k]](value))
  16: function_list[[k]](value)
  
  -- 2. Error: can retrieve transactions (@test-eth.R#10)  -----------------------
  $ operator is invalid for atomic vectors
  1: eth_getTransactionByBlockHashAndIndex("0xd3ca9f0659473d93a00dc2076c2c9e8d7805243c59c8cb0d3501b262f98a15f1", 
         "0x0") at testthat/test-eth.R:10
  2: get_post_response("eth_getTransactionByBlockHashAndIndex", list(hash, index))
  3: POST(url = ethereum_env$rpc_address, content_type_json(), body = body) %>% content("parsed") %>% 
         .$result
  4: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  5: eval(quote(`_fseq`(`_lhs`)), env, env)
  6: eval(quote(`_fseq`(`_lhs`)), env, env)
  7: `_fseq`(`_lhs`)
  8: freduce(value, `_function_list`)
  9: withVisible(function_list[[k]](value))
  10: function_list[[k]](value)
  
  == testthat results  ===========================================================
  OK: 0 SKIPPED: 0 FAILED: 2
  1. Error: valid protocol version (@test-eth.R#6) 
  2. Error: can retrieve transactions (@test-eth.R#10) 
  
  Error: testthat unit tests failed
  Execution halted