CRAN Package Check Results for Package kofdata

Last updated on 2020-09-23 06:00:47 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.3.4 2.91 29.45 32.36 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.3.4 2.17 24.03 26.20 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.3.4 51.88 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.3.4 39.15 ERROR
r-devel-windows-ix86+x86_64 0.1.3.4 6.00 52.00 58.00 ERROR
r-patched-linux-x86_64 0.1.3.4 2.84 29.61 32.45 ERROR
r-patched-solaris-x86 0.1.3.4 65.60 OK
r-release-linux-x86_64 0.1.3.4 2.60 29.51 32.11 ERROR
r-release-macos-x86_64 0.1.3.4 OK
r-release-windows-ix86+x86_64 0.1.3.4 5.00 54.00 59.00 ERROR
r-oldrel-macos-x86_64 0.1.3.4 OK
r-oldrel-windows-ix86+x86_64 0.1.3.4 4.00 50.00 54.00 ERROR

Check Details

Version: 0.1.3.4
Check: examples
Result: ERROR
    Running examples in 'kofdata-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: list_available_sets
    > ### Title: List Available Set Names and Their Description
    > ### Aliases: list_available_sets
    >
    > ### ** Examples
    >
    > list_available_sets()
    Error in list_available_sets() : An error occurred when calling the api:
    Status: 404
    Content:{"message":"no API found with those values"}
    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.3.4
Check: tests
Result: ERROR
     Running 'testthat.R' [3s/5s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(kofdata)
     Loading required package: jsonlite
     Loading required package: httr
     >
     > test_check("kofdata")
     -- 1. Failure: get_dataset works (@test_get_dataset.R#4) ----------------------
     `get_dataset("some_nonexistent_set")` threw an error with unexpected message.
     Expected match: "The API responded"
     Actual message: ""
     Backtrace:
     1. testthat::expect_error(get_dataset("some_nonexistent_set"), "The API responded")
     6. kofdata::get_dataset("some_nonexistent_set")
    
     -- 2. Failure: get_metadata works (@test_get_metadata.R#5) --------------------
     get_metadata("ch.kof.inu.ng08.fx.sector_kof.cm.q_ql_chg_price_sales_p3m.share_eq")[[1]] inherits from `logical` not `list`.
    
     -- 3. Error: list_keys_in_set works (@test_list_keys.R#5) ---------------------
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     -- 4. Error: list_public_keys works (@test_list_public_keys.R#5) --------------
     An error occurred when calling the api:
     Status: 404
     Content:<!DOCTYPE html>
     <html lang="en">
     <head>
     <meta charset="utf-8">
     <title>Error</title>
     </head>
     <body>
     <pre>Cannot GET /listkeys</pre>
     </body>
     </html>
     Backtrace:
     1. kofdata::list_public_keys()
    
     -- 5. Error: list_available_sets works (@test_list_sets.R#5) ------------------
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     == testthat results ===========================================================
     [ OK: 13 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
     1. Failure: get_dataset works (@test_get_dataset.R#4)
     2. Failure: get_metadata works (@test_get_metadata.R#5)
     3. Error: list_keys_in_set works (@test_list_keys.R#5)
     4. Error: list_public_keys works (@test_list_public_keys.R#5)
     5. Error: list_available_sets works (@test_list_sets.R#5)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/6s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(kofdata)
     Loading required package: jsonlite
     Loading required package: httr
     >
     > test_check("kofdata")
     ── 1. Failure: get_dataset works (@test_get_dataset.R#4) ──────────────────────
     `get_dataset("some_nonexistent_set")` threw an error with unexpected message.
     Expected match: "The API responded"
     Actual message: ""
     Backtrace:
     1. testthat::expect_error(get_dataset("some_nonexistent_set"), "The API responded")
     6. kofdata::get_dataset("some_nonexistent_set")
    
     ── 2. Failure: get_dataset works (@test_get_dataset.R#10) ─────────────────────
     names(baros)[1:3] not equal to c("baro_2014m04", "baro_2014m05", "baro_2014m06").
     3/3 mismatches
     x[1]: "baro_2016m02"
     y[1]: "baro_2014m04"
    
     x[2]: "baro_2016m03"
     y[2]: "baro_2014m05"
    
     x[3]: "baro_2016m04"
     y[3]: "baro_2014m06"
    
     ── 3. Failure: get_metadata works (@test_get_metadata.R#5) ────────────────────
     get_metadata("ch.kof.inu.ng08.fx.sector_kof.cm.q_ql_chg_price_sales_p3m.share_eq")[[1]] inherits from `logical` not `list`.
    
     ── 4. Error: list_keys_in_set works (@test_list_keys.R#5) ─────────────────────
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     ── 5. Error: list_public_keys works (@test_list_public_keys.R#5) ──────────────
     An error occurred when calling the api:
     Status: 404
     Content:<!DOCTYPE html>
     <html lang="en">
     <head>
     <meta charset="utf-8">
     <title>Error</title>
     </head>
     <body>
     <pre>Cannot GET /listkeys</pre>
     </body>
     </html>
     Backtrace:
     1. kofdata::list_public_keys()
    
     ── 6. Error: list_available_sets works (@test_list_sets.R#5) ──────────────────
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 12 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
     1. Failure: get_dataset works (@test_get_dataset.R#4)
     2. Failure: get_dataset works (@test_get_dataset.R#10)
     3. Failure: get_metadata works (@test_get_metadata.R#5)
     4. Error: list_keys_in_set works (@test_list_keys.R#5)
     5. Error: list_public_keys works (@test_list_public_keys.R#5)
     6. Error: list_available_sets works (@test_list_sets.R#5)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64

Version: 0.1.3.4
Check: examples
Result: ERROR
    Running examples in ‘kofdata-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: list_available_sets
    > ### Title: List Available Set Names and Their Description
    > ### Aliases: list_available_sets
    >
    > ### ** Examples
    >
    > list_available_sets()
    Error in list_available_sets() : An error occurred when calling the api:
    Status: 404
    Content:{"message":"no API found with those values"}
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(kofdata)
     Loading required package: jsonlite
     Loading required package: httr
     >
     > test_check("kofdata")
     ── 1. Failure: get_dataset works (@test_get_dataset.R#4) ──────────────────────
     `get_dataset("some_nonexistent_set")` threw an error with unexpected message.
     Expected match: "The API responded"
     Actual message: ""
     Backtrace:
     1. testthat::expect_error(get_dataset("some_nonexistent_set"), "The API responded")
     6. kofdata::get_dataset("some_nonexistent_set")
    
     ── 2. Failure: get_metadata works (@test_get_metadata.R#5) ────────────────────
     get_metadata("ch.kof.inu.ng08.fx.sector_kof.cm.q_ql_chg_price_sales_p3m.share_eq")[[1]] inherits from `logical` not `list`.
    
     ── 3. Error: list_keys_in_set works (@test_list_keys.R#5) ─────────────────────
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     ── 4. Error: list_public_keys works (@test_list_public_keys.R#5) ──────────────
     An error occurred when calling the api:
     Status: 404
     Content:<!DOCTYPE html>
     <html lang="en">
     <head>
     <meta charset="utf-8">
     <title>Error</title>
     </head>
     <body>
     <pre>Cannot GET /listkeys</pre>
     </body>
     </html>
     Backtrace:
     1. kofdata::list_public_keys()
    
     ── 5. Error: list_available_sets works (@test_list_sets.R#5) ──────────────────
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 13 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
     1. Failure: get_dataset works (@test_get_dataset.R#4)
     2. Failure: get_metadata works (@test_get_metadata.R#5)
     3. Error: list_keys_in_set works (@test_list_keys.R#5)
     4. Error: list_public_keys works (@test_list_public_keys.R#5)
     5. Error: list_available_sets works (@test_list_sets.R#5)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.3.4
Check: tests
Result: ERROR
     Running 'testthat.R' [7s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(kofdata)
     Loading required package: jsonlite
     Loading required package: httr
     >
     > test_check("kofdata")
     -- 1. Failure: get_dataset works (@test_get_dataset.R#4) ----------------------
     `get_dataset("some_nonexistent_set")` threw an error with unexpected message.
     Expected match: "The API responded"
     Actual message: ""
     Backtrace:
     1. testthat::expect_error(get_dataset("some_nonexistent_set"), "The API responded")
     6. kofdata::get_dataset("some_nonexistent_set")
    
     -- 2. Failure: get_dataset works (@test_get_dataset.R#10) ---------------------
     names(baros)[1:3] not equal to c("baro_2014m04", "baro_2014m05", "baro_2014m06").
     3/3 mismatches
     x[1]: "baro_2016m02"
     y[1]: "baro_2014m04"
    
     x[2]: "baro_2016m03"
     y[2]: "baro_2014m05"
    
     x[3]: "baro_2016m04"
     y[3]: "baro_2014m06"
    
     -- 3. Failure: get_metadata works (@test_get_metadata.R#5) --------------------
     get_metadata("ch.kof.inu.ng08.fx.sector_kof.cm.q_ql_chg_price_sales_p3m.share_eq")[[1]] inherits from `logical` not `list`.
    
     -- 4. Error: list_keys_in_set works (@test_list_keys.R#5) ---------------------
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     -- 5. Error: list_public_keys works (@test_list_public_keys.R#5) --------------
     An error occurred when calling the api:
     Status: 404
     Content:<!DOCTYPE html>
     <html lang="en">
     <head>
     <meta charset="utf-8">
     <title>Error</title>
     </head>
     <body>
     <pre>Cannot GET /listkeys</pre>
     </body>
     </html>
     Backtrace:
     1. kofdata::list_public_keys()
    
     -- 6. Error: list_available_sets works (@test_list_sets.R#5) ------------------
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     == testthat results ===========================================================
     [ OK: 12 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
     1. Failure: get_dataset works (@test_get_dataset.R#4)
     2. Failure: get_dataset works (@test_get_dataset.R#10)
     3. Failure: get_metadata works (@test_get_metadata.R#5)
     4. Error: list_keys_in_set works (@test_list_keys.R#5)
     5. Error: list_public_keys works (@test_list_public_keys.R#5)
     6. Error: list_available_sets works (@test_list_sets.R#5)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64

Version: 0.1.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/6s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(kofdata)
     Loading required package: jsonlite
     Loading required package: httr
     >
     > test_check("kofdata")
     ── 1. Failure: get_dataset works (@test_get_dataset.R#4) ──────────────────────
     `get_dataset("some_nonexistent_set")` threw an error with unexpected message.
     Expected match: "The API responded"
     Actual message: ""
     Backtrace:
     1. testthat::expect_error(get_dataset("some_nonexistent_set"), "The API responded")
     6. kofdata::get_dataset("some_nonexistent_set")
    
     ── 2. Failure: get_dataset works (@test_get_dataset.R#10) ─────────────────────
     names(baros)[1:3] not equal to c("baro_2014m04", "baro_2014m05", "baro_2014m06").
     3/3 mismatches
     x[1]: "baro_2016m02"
     y[1]: "baro_2014m04"
    
     x[2]: "baro_2016m03"
     y[2]: "baro_2014m05"
    
     x[3]: "baro_2016m04"
     y[3]: "baro_2014m06"
    
     ── 3. Failure: get_metadata works (@test_get_metadata.R#5) ────────────────────
     get_metadata("ch.kof.inu.ng08.fx.sector_kof.cm.q_ql_chg_price_sales_p3m.share_eq")[[1]] inherits from `logical` not `list`.
    
     ── 4. Error: list_keys_in_set works (@test_list_keys.R#5) ─────────────────────
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     ── 5. Error: list_public_keys works (@test_list_public_keys.R#5) ──────────────
     An error occurred when calling the api:
     Status: 404
     Content:<!DOCTYPE html>
     <html lang="en">
     <head>
     <meta charset="utf-8">
     <title>Error</title>
     </head>
     <body>
     <pre>Cannot GET /listkeys</pre>
     </body>
     </html>
     Backtrace:
     1. kofdata::list_public_keys()
    
     ── 6. Error: list_available_sets works (@test_list_sets.R#5) ──────────────────
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 12 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
     1. Failure: get_dataset works (@test_get_dataset.R#4)
     2. Failure: get_dataset works (@test_get_dataset.R#10)
     3. Failure: get_metadata works (@test_get_metadata.R#5)
     4. Error: list_keys_in_set works (@test_list_keys.R#5)
     5. Error: list_public_keys works (@test_list_public_keys.R#5)
     6. Error: list_available_sets works (@test_list_sets.R#5)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.1.3.4
Check: tests
Result: ERROR
     Running 'testthat.R' [6s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(kofdata)
     Loading required package: jsonlite
     Loading required package: httr
     >
     > test_check("kofdata")
     -- 1. Failure: get_dataset works (@test_get_dataset.R#4) ----------------------
     `get_dataset("some_nonexistent_set")` threw an error with unexpected message.
     Expected match: "The API responded"
     Actual message: ""
     Backtrace:
     1. testthat::expect_error(get_dataset("some_nonexistent_set"), "The API responded")
     6. kofdata::get_dataset("some_nonexistent_set")
    
     -- 2. Failure: get_metadata works (@test_get_metadata.R#5) --------------------
     get_metadata("ch.kof.inu.ng08.fx.sector_kof.cm.q_ql_chg_price_sales_p3m.share_eq")[[1]] inherits from `logical` not `list`.
    
     -- 3. Error: list_keys_in_set works (@test_list_keys.R#5) ---------------------
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     -- 4. Error: list_public_keys works (@test_list_public_keys.R#5) --------------
     An error occurred when calling the api:
     Status: 404
     Content:<!DOCTYPE html>
     <html lang="en">
     <head>
     <meta charset="utf-8">
     <title>Error</title>
     </head>
     <body>
     <pre>Cannot GET /listkeys</pre>
     </body>
     </html>
     Backtrace:
     1. kofdata::list_public_keys()
    
     -- 5. Error: list_available_sets works (@test_list_sets.R#5) ------------------
     An error occurred when calling the api:
     Status: 404
     Content:{"message":"no API found with those values"}
     Backtrace:
     1. kofdata::list_available_sets()
    
     == testthat results ===========================================================
     [ OK: 13 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
     1. Failure: get_dataset works (@test_get_dataset.R#4)
     2. Failure: get_metadata works (@test_get_metadata.R#5)
     3. Error: list_keys_in_set works (@test_list_keys.R#5)
     4. Error: list_public_keys works (@test_list_public_keys.R#5)
     5. Error: list_available_sets works (@test_list_sets.R#5)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64