Running examples in 'rfinance-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_dividends
> ### Title: Dividend payments history
> ### Aliases: get_dividends
> 
> ### ** Examples
> 
> 
> dividends <- get_dividends('MSFT')
Error in new_session() : Could not establish session after 3 attempts.
Calls: get_dividends -> get_handle -> new_session
Execution halted
Running 'testthat.R' [5s/11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rfinance)
  > 
  > test_check("rfinance")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  
  == Failed tests ================================================================
  -- Error (test-get_prices.R:3:3): get_prices works -----------------------------
  Error in `new_session()`: Could not establish session after 3 attempts.
  Backtrace:
      x
   1. \-rfinance::get_prices(ticker) at test-get_prices.R:3:2
   2.   \-rfinance:::get_handle()
   3.     \-rfinance new_session()
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted
Running examples in ‘rfinance-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_dividends
> ### Title: Dividend payments history
> ### Aliases: get_dividends
> 
> ### ** Examples
> 
> 
> dividends <- get_dividends('MSFT')
Error in new_session() : Could not establish session after 3 attempts.
Calls: get_dividends -> get_handle -> new_session
Execution halted
Running ‘testthat.R’ [3s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rfinance)
  > 
  > test_check("rfinance")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_prices.R:3:3): get_prices works ─────────────────────────────
  Error in `new_session()`: Could not establish session after 3 attempts.
  Backtrace:
      ▆
   1. └─rfinance::get_prices(ticker) at test-get_prices.R:3:2
   2.   └─rfinance:::get_handle()
   3.     └─rfinance new_session()
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted
Namespaces in Imports field not imported from:
  ‘httr’ ‘lubridate’ ‘stringr’
  All declared Imports should be used.
Running examples in ‘rfinance-Ex.R’ failed
The error most likely occurred in:

> ### Name: get_dividends
> ### Title: Dividend payments history
> ### Aliases: get_dividends
> 
> ### ** Examples
> 
> 
> dividends <- get_dividends('MSFT')
Error in new_session() : Could not establish session after 3 attempts.
Calls: get_dividends -> get_handle -> new_session
Execution halted
Running ‘testthat.R’ [5s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rfinance)
  > 
  > test_check("rfinance")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_prices.R:3:3): get_prices works ─────────────────────────────
  Error in `new_session()`: Could not establish session after 3 attempts.
  Backtrace:
      ▆
   1. └─rfinance::get_prices(ticker) at test-get_prices.R:3:2
   2.   └─rfinance:::get_handle()
   3.     └─rfinance new_session()
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted
Namespaces in Imports field not imported from:
  ‘httr’ ‘lubridate’ ‘stringr’
  All declared Imports should be used.
Running examples in ‘rfinance-Ex.R’ failed
The error most likely occurred in:

> ### Name: get_dividends
> ### Title: Dividend payments history
> ### Aliases: get_dividends
> 
> ### ** Examples
> 
> 
> dividends <- get_dividends('MSFT')
Error in new_session() : Could not establish session after 3 attempts.
Calls: get_dividends -> get_handle -> new_session
Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rfinance)
  > 
  > test_check("rfinance")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_prices.R:3:3): get_prices works ─────────────────────────────
  Error in `curl::curl_fetch_memory(cu, handle = h)`: Could not resolve host: finance.yahoo.com
  Backtrace:
      ▆
   1. └─rfinance::get_prices(ticker) at test-get_prices.R:3:2
   2.   └─rfinance:::get_handle()
   3.     └─rfinance new_session()
   4.       └─curl::curl_fetch_memory(cu, handle = h)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted
Running examples in 'rfinance-Ex.R' failed
The error most likely occurred in:

> ### Name: get_dividends
> ### Title: Dividend payments history
> ### Aliases: get_dividends
> 
> ### ** Examples
> 
> 
> dividends <- get_dividends('MSFT')
Error in new_session() : Could not establish session after 3 attempts.
Calls: get_dividends -> get_handle -> new_session
Execution halted
Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rfinance)
  > 
  > test_check("rfinance")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_prices.R:3:3): get_prices works ─────────────────────────────
  Error in `new_session()`: Could not establish session after 3 attempts.
  Backtrace:
      ▆
   1. └─rfinance::get_prices(ticker) at test-get_prices.R:3:2
   2.   └─rfinance:::get_handle()
   3.     └─rfinance new_session()
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted
Running examples in ‘rfinance-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_dividends
> ### Title: Dividend payments history
> ### Aliases: get_dividends
> 
> ### ** Examples
> 
> 
> dividends <- get_dividends('MSFT')
Error in new_session() : Could not establish session after 3 attempts.
Calls: get_dividends -> get_handle -> new_session
Execution halted
Running ‘testthat.R’ [4s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rfinance)
  > 
  > test_check("rfinance")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_prices.R:3:3): get_prices works ─────────────────────────────
  Error in `new_session()`: Could not establish session after 3 attempts.
  Backtrace:
      ▆
   1. └─rfinance::get_prices(ticker) at test-get_prices.R:3:2
   2.   └─rfinance:::get_handle()
   3.     └─rfinance new_session()
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted
Running examples in ‘rfinance-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_dividends
> ### Title: Dividend payments history
> ### Aliases: get_dividends
> 
> ### ** Examples
> 
> 
> dividends <- get_dividends('MSFT')
Error in new_session() : Could not establish session after 3 attempts.
Calls: get_dividends -> get_handle -> new_session
Execution halted
Running ‘testthat.R’ [4s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rfinance)
  > 
  > test_check("rfinance")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_prices.R:3:3): get_prices works ─────────────────────────────
  Error in `new_session()`: Could not establish session after 3 attempts.
  Backtrace:
      ▆
   1. └─rfinance::get_prices(ticker) at test-get_prices.R:3:2
   2.   └─rfinance:::get_handle()
   3.     └─rfinance new_session()
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted
Namespaces in Imports field not imported from:
  ‘httr’ ‘lubridate’ ‘stringr’
  All declared Imports should be used.
Namespaces in Imports field not imported from:
  ‘httr’ ‘lubridate’ ‘stringr’
  All declared Imports should be used.
Running examples in 'rfinance-Ex.R' failed
The error most likely occurred in:

> ### Name: get_dividends
> ### Title: Dividend payments history
> ### Aliases: get_dividends
> 
> ### ** Examples
> 
> 
> dividends <- get_dividends('MSFT')
Error in new_session() : Could not establish session after 3 attempts.
Calls: get_dividends -> get_handle -> new_session
Execution halted
Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rfinance)
  > 
  > test_check("rfinance")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_prices.R:3:3): get_prices works ─────────────────────────────
  Error in `new_session()`: Could not establish session after 3 attempts.
  Backtrace:
      ▆
   1. └─rfinance::get_prices(ticker) at test-get_prices.R:3:2
   2.   └─rfinance:::get_handle()
   3.     └─rfinance new_session()
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted
Namespaces in Imports field not imported from:
  ‘httr’ ‘lubridate’ ‘stringr’
  All declared Imports should be used.
Namespaces in Imports field not imported from:
  ‘httr’ ‘lubridate’ ‘stringr’
  All declared Imports should be used.
Running examples in 'rfinance-Ex.R' failed
The error most likely occurred in:

> ### Name: get_dividends
> ### Title: Dividend payments history
> ### Aliases: get_dividends
> 
> ### ** Examples
> 
> 
> dividends <- get_dividends('MSFT')
Error in new_session() : Could not establish session after 3 attempts.
Calls: get_dividends -> get_handle -> new_session
Execution halted
Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rfinance)
  > 
  > test_check("rfinance")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  
  == Failed tests ================================================================
  -- Error (test-get_prices.R:3:3): get_prices works -----------------------------
  Error in `new_session()`: Could not establish session after 3 attempts.
  Backtrace:
      x
   1. \-rfinance::get_prices(ticker) at test-get_prices.R:3:2
   2.   \-rfinance:::get_handle()
   3.     \-rfinance new_session()
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
  Error: Test failures
  Execution halted