CRAN Package Check Results for Package rbcb

Last updated on 2018-08-13 15:51:24 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.5 3.14 41.10 44.24 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.5 2.33 32.10 34.43 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.5 49.26 OK
r-devel-linux-x86_64-fedora-gcc 0.1.5 42.89 OK
r-devel-windows-ix86+x86_64 0.1.5 8.00 205.00 213.00 OK
r-patched-linux-x86_64 0.1.5 2.65 35.71 38.36 ERROR
r-patched-solaris-x86 0.1.5 66.50 ERROR
r-release-linux-x86_64 0.1.5 2.60 36.23 38.83 ERROR
r-release-windows-ix86+x86_64 0.1.5 5.00 159.00 164.00 ERROR
r-release-osx-x86_64 0.1.5 OK
r-oldrel-windows-ix86+x86_64 0.1.5 7.00 155.00 162.00 OK
r-oldrel-osx-x86_64 0.1.5 OK

Check Details

Version: 0.1.5
Check: examples
Result: ERROR
    Running examples in ‘rbcb-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: get_annual_market_expectations
    > ### Title: Get annual market expectations of economic indicators
    > ### Aliases: get_annual_market_expectations
    >
    > ### ** Examples
    >
    > indic <- c("Balanço de Pagamentos", "Fiscal")
    > end_date <- "2018-01-31"
    > x <- get_annual_market_expectations(indic, end_date = end_date, `$top` = 10)
    Error in curl::curl_fetch_memory(url, handle = handle) :
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
    Calls: get_annual_market_expectations ... request_fetch -> request_fetch.write_memory -> <Anonymous>
    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.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/72s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rbcb)
     >
     > test_check("rbcb")
     ── 1. Error: it should fetch data from 12-months-infl market expectations API (@
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_twelve_months_inflation_expectations(indic, start_date, end_date) at testthat/test-12-months-inflation.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 2. Error: it should fetch data from annual market expectations API (@test-foc
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_annual_market_expectations(indic, start_date, end_date) at testthat/test-focus-annual.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 3. Error: it should fetch data from monthly market expectations API (@test-fo
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_monthly_market_expectations(indic, start_date, end_date) at testthat/test-focus-monthly.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 4. Error: it should fetch data from monthly market expectations API without s
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_monthly_market_expectations(indic, end_date = end_date, `$top` = 10) at testthat/test-focus-monthly.R:17
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 5. Error: it should fetch data from monthly market expectations API without e
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_monthly_market_expectations(indic, start_date = start_date) at testthat/test-focus-monthly.R:26
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 6. Error: it should fetch data from quarterly market expectations API (@test-
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_quarterly_market_expectations(indic, start_date, end_date) at testthat/test-focus-quarterly.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 59 SKIPPED: 0 FAILED: 6
     1. Error: it should fetch data from 12-months-infl market expectations API (@test-12-months-inflation.R#8)
     2. Error: it should fetch data from annual market expectations API (@test-focus-annual.R#8)
     3. Error: it should fetch data from monthly market expectations API (@test-focus-monthly.R#8)
     4. Error: it should fetch data from monthly market expectations API without start_date (@test-focus-monthly.R#17)
     5. Error: it should fetch data from monthly market expectations API without end_date (@test-focus-monthly.R#26)
     6. Error: it should fetch data from quarterly market expectations API (@test-focus-quarterly.R#8)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-release-linux-x86_64

Version: 0.1.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/72s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rbcb)
     >
     > test_check("rbcb")
     ── 1. Error: it should fetch data from 12-months-infl market expectations API (@
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_twelve_months_inflation_expectations(indic, start_date, end_date) at testthat/test-12-months-inflation.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 2. Error: it should fetch data from annual market expectations API (@test-foc
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_annual_market_expectations(indic, start_date, end_date) at testthat/test-focus-annual.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 3. Error: it should fetch data from monthly market expectations API (@test-fo
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_monthly_market_expectations(indic, start_date, end_date) at testthat/test-focus-monthly.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 4. Error: it should fetch data from monthly market expectations API without s
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_monthly_market_expectations(indic, end_date = end_date, `$top` = 10) at testthat/test-focus-monthly.R:17
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 5. Error: it should fetch data from monthly market expectations API without e
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_monthly_market_expectations(indic, start_date = start_date) at testthat/test-focus-monthly.R:26
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 6. Error: it should fetch data from quarterly market expectations API (@test-
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_quarterly_market_expectations(indic, start_date, end_date) at testthat/test-focus-quarterly.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 59 SKIPPED: 0 FAILED: 6
     1. Error: it should fetch data from 12-months-infl market expectations API (@test-12-months-inflation.R#8)
     2. Error: it should fetch data from annual market expectations API (@test-focus-annual.R#8)
     3. Error: it should fetch data from monthly market expectations API (@test-focus-monthly.R#8)
     4. Error: it should fetch data from monthly market expectations API without start_date (@test-focus-monthly.R#17)
     5. Error: it should fetch data from monthly market expectations API without end_date (@test-focus-monthly.R#26)
     6. Error: it should fetch data from quarterly market expectations API (@test-focus-quarterly.R#8)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/71s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rbcb)
     >
     > test_check("rbcb")
     ── 1. Error: it should fetch data from 12-months-infl market expectations API (@
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_twelve_months_inflation_expectations(indic, start_date, end_date) at testthat/test-12-months-inflation.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 2. Error: it should fetch data from annual market expectations API (@test-foc
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_annual_market_expectations(indic, start_date, end_date) at testthat/test-focus-annual.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 3. Error: it should fetch data from monthly market expectations API (@test-fo
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_monthly_market_expectations(indic, start_date, end_date) at testthat/test-focus-monthly.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 4. Error: it should fetch data from monthly market expectations API without s
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_monthly_market_expectations(indic, end_date = end_date, `$top` = 10) at testthat/test-focus-monthly.R:17
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 5. Error: it should fetch data from monthly market expectations API without e
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_monthly_market_expectations(indic, start_date = start_date) at testthat/test-focus-monthly.R:26
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ── 6. Error: it should fetch data from quarterly market expectations API (@test-
     GnuTLS recv error (-110): The TLS connection was non-properly terminated.
     1: get_quarterly_market_expectations(indic, start_date, end_date) at testthat/test-focus-quarterly.R:8
     2: httr::GET(url)
     3: request_perform(req, hu$handle$handle)
     4: request_fetch(req$output, req$url, handle)
     5: request_fetch.write_memory(req$output, req$url, handle)
     6: curl::curl_fetch_memory(url, handle = handle)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 59 SKIPPED: 0 FAILED: 6
     1. Error: it should fetch data from 12-months-infl market expectations API (@test-12-months-inflation.R#8)
     2. Error: it should fetch data from annual market expectations API (@test-focus-annual.R#8)
     3. Error: it should fetch data from monthly market expectations API (@test-focus-monthly.R#8)
     4. Error: it should fetch data from monthly market expectations API without start_date (@test-focus-monthly.R#17)
     5. Error: it should fetch data from monthly market expectations API without end_date (@test-focus-monthly.R#26)
     6. Error: it should fetch data from quarterly market expectations API (@test-focus-quarterly.R#8)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.1.5
Check: examples
Result: ERROR
    Running examples in ‘rbcb-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: get_currency
    > ### Title: Get currency values for a given period
    > ### Aliases: get_currency
    >
    > ### ** Examples
    >
    > get_currency("USD", "2017-03-01", "2017-03-10")
    Error in curl::curl_fetch_memory(url, handle = handle) :
     Timeout was reached: Operation timed out after 10034 milliseconds with 0 out of 0 bytes received
    Calls: get_currency ... request_fetch -> request_fetch.write_memory -> <Anonymous>
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.1.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/191s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rbcb)
     >
     > test_check("rbcb")
     ── 1. Error: it should get currency data from BCB (@test-currencies.R#5) ──────
     Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
     1: get_currency("USD", "2017-03-01", "2017-03-02", as = "text") at testthat/test-currencies.R:5
     2: get_currency_id(symbol)
     3: suppressMessages(currency_id_list())
     4: withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
     5: currency_id_list()
     6: http_getter(url1)
     7: httr::GET(url = url, config = list(), if (verbose) httr::verbose(), httr::add_headers(`User-Agent` = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36"))
     8: request_perform(req, hu$handle$handle)
     9: request_fetch(req$output, req$url, handle)
     10: request_fetch.write_memory(req$output, req$url, handle)
     11: curl::curl_fetch_memory(url, handle = handle)
    
     ── 2. Error: it should get multiple series (@test-get_series.R#66) ────────────
     Timeout was reached: Operation timed out after 10790 milliseconds with 0 out of 0 bytes received
     1: get_series(c(USD = 1, IBOVESPA = 7), start_date = start) at testthat/test-get_series.R:66
     2: lapply(objs, function(x) .get_series(series_url(x, start_date, end_date, last)))
     3: FUN(X[[i]], ...)
     4: .get_series(series_url(x, start_date, end_date, last))
     5: http_getter(url)
     6: httr::GET(url = url, config = list(), if (verbose) httr::verbose(), httr::add_headers(`User-Agent` = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36"))
     7: request_perform(req, hu$handle$handle)
     8: request_fetch(req$output, req$url, handle)
     9: request_fetch.write_memory(req$output, req$url, handle)
     10: curl::curl_fetch_memory(url, handle = handle)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 72 SKIPPED: 0 FAILED: 2
     1. Error: it should get currency data from BCB (@test-currencies.R#5)
     2. Error: it should get multiple series (@test-get_series.R#66)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.1.5
Check: tests
Result: ERROR
     Running 'testthat.R' [111s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(rbcb)
     >
     > test_check("rbcb")
     -- 1. Error: it should get series within a date period specifying only end_date
     Timeout was reached: Connection timed out after 10562 milliseconds
     1: get_series(c(USD = 1), end_date = end) at testthat/test-get_series.R:59
     2: lapply(objs, function(x) .get_series(series_url(x, start_date, end_date, last)))
     3: FUN(X[[i]], ...)
     4: .get_series(series_url(x, start_date, end_date, last))
     5: http_getter(url)
     6: httr::GET(url = url, config = list(), if (verbose) httr::verbose(), httr::add_headers(`User-Agent` = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36"))
     7: request_perform(req, hu$handle$handle)
     8: request_fetch(req$output, req$url, handle)
     9: request_fetch.write_memory(req$output, req$url, handle)
     10: curl::curl_fetch_memory(url, handle = handle)
    
     -- 2. Error: it should get multiple series (@test-get_series.R#70) ------------
     Timeout was reached: Connection timed out after 10639 milliseconds
     1: get_series(c(USD = 1, 7), last = 5) at testthat/test-get_series.R:70
     2: lapply(objs, function(x) .get_series(series_url(x, start_date, end_date, last)))
     3: FUN(X[[i]], ...)
     4: .get_series(series_url(x, start_date, end_date, last))
     5: http_getter(url)
     6: httr::GET(url = url, config = list(), if (verbose) httr::verbose(), httr::add_headers(`User-Agent` = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36"))
     7: request_perform(req, hu$handle$handle)
     8: request_fetch(req$output, req$url, handle)
     9: request_fetch.write_memory(req$output, req$url, handle)
     10: curl::curl_fetch_memory(url, handle = handle)
    
     == testthat results ===========================================================
     OK: 74 SKIPPED: 0 FAILED: 2
     1. Error: it should get series within a date period specifying only end_date (@test-get_series.R#59)
     2. Error: it should get multiple series (@test-get_series.R#70)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64