CRAN Package Check Results for Package rfinance

Last updated on 2022-05-13 07:51:20 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 3.75 38.54 42.29 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 2.85 29.85 32.70 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 52.36 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 49.36 ERROR
r-devel-windows-x86_64 0.1.0 22.00 67.00 89.00 ERROR
r-patched-linux-x86_64 0.1.0 2.27 37.82 40.09 ERROR
r-release-linux-x86_64 0.1.0 3.63 37.14 40.77 ERROR
r-release-macos-arm64 0.1.0 37.00 NOTE
r-release-macos-x86_64 0.1.0 50.00 NOTE
r-release-windows-x86_64 0.1.0 17.00 62.00 79.00 ERROR
r-oldrel-macos-arm64 0.1.0 53.00 NOTE
r-oldrel-macos-x86_64 0.1.0 46.00 NOTE
r-oldrel-windows-ix86+x86_64 0.1.0 11.00 52.00 63.00 ERROR

Check Details

Version: 0.1.0
Check: examples
Result: ERROR
    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
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     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
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: tests
Result: ERROR
     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
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘httr’ ‘lubridate’ ‘stringr’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.1.0
Check: examples
Result: ERROR
    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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     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
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: tests
Result: ERROR
     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
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: tests
Result: ERROR
     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
Flavor: r-devel-windows-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     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
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     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
Flavor: r-release-windows-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     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
Flavor: r-oldrel-windows-ix86+x86_64