CRAN Package Check Results for Package coinmarketcapr

Last updated on 2019-11-16 14:46:27 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2 3.53 39.94 43.47 ERROR
r-devel-linux-x86_64-debian-gcc 0.2 3.02 30.35 33.37 ERROR
r-devel-linux-x86_64-fedora-clang 0.2 53.39 OK
r-devel-linux-x86_64-fedora-gcc 0.2 53.19 OK
r-devel-windows-ix86+x86_64 0.2 22.00 90.00 112.00 OK
r-patched-linux-x86_64 0.2 3.25 37.67 40.92 WARN
r-patched-solaris-x86 0.2 82.60 OK
r-release-linux-x86_64 0.2 3.16 36.62 39.78 ERROR
r-release-windows-ix86+x86_64 0.2 9.00 108.00 117.00 OK
r-release-osx-x86_64 0.2 OK
r-oldrel-windows-ix86+x86_64 0.2 6.00 55.00 61.00 OK
r-oldrel-osx-x86_64 0.2 OK

Check Details

Version: 0.2
Check: tests
Result: ERROR
     Running 'testthat.R' [3s/4s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(coinmarketcapr)
     >
     > test_check("coinmarketcapr")
     -- 1. Error: The output dataframe Type is (@test-fun.R#7) --------------------
     lexical error: invalid char in json text.
     <!DOCTYPE html> <!--[if lt IE 7
     (right here) ------^
     Backtrace:
     1. testthat::expect_equal(class(get_global_marketcap("USD")), "data.frame")
     4. coinmarketcapr::get_global_marketcap("USD")
     6. jsonlite::fromJSON(...)
     7. jsonlite:::parse_and_simplify(...)
     8. jsonlite:::parseJSON(txt, bigint_as_char)
     9. jsonlite:::parse_string(txt, bigint_as_char)
    
     -- 2. Error: The output dataframe Type is (@test-fun.R#14) -------------------
     lexical error: invalid char in json text.
     <!DOCTYPE html> <!--[if lt IE 7
     (right here) ------^
     Backtrace:
     1. testthat::expect_equal(...)
     4. coinmarketcapr::get_marketcap_ticker_all("USD")
     6. jsonlite::fromJSON(...)
     7. jsonlite:::parse_and_simplify(...)
     8. jsonlite:::parseJSON(txt, bigint_as_char)
     9. jsonlite:::parse_string(txt, bigint_as_char)
    
     -- 3. Error: The output ggplot Type is (@test-fun.R#22) ----------------------
     lexical error: invalid char in json text.
     <!DOCTYPE html> <!--[if lt IE 7
     (right here) ------^
     Backtrace:
     1. testthat::expect_true(is.ggplot(plot_top_currencies("USD")))
     5. coinmarketcapr::plot_top_currencies("USD")
     7. jsonlite::fromJSON(...)
     8. jsonlite:::parse_and_simplify(...)
     9. jsonlite:::parseJSON(txt, bigint_as_char)
     10. jsonlite:::parse_string(txt, bigint_as_char)
    
     == testthat results ===========================================================
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
     1. Error: The output dataframe Type is (@test-fun.R#7)
     2. Error: The output dataframe Type is (@test-fun.R#14)
     3. Error: The output ggplot Type is (@test-fun.R#22)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'Getting_Started.Rmd' using rmarkdown
    Quitting from lines 44-46 (Getting_Started.Rmd)
    Error: processing vignette 'Getting_Started.Rmd' failed with diagnostics:
    lexical error: invalid char in json text.
     <!DOCTYPE html> <!--[if lt IE 7
     (right here) ------^
    
    --- failed re-building 'Getting_Started.Rmd'
    
    SUMMARY: processing the following file failed:
     'Getting_Started.Rmd'
    
    Error: Vignette re-building failed.
    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.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/4s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(coinmarketcapr)
     >
     > test_check("coinmarketcapr")
     ── 1. Error: The output dataframe Type is (@test-fun.R#7) ────────────────────
     lexical error: invalid char in json text.
     <!DOCTYPE html> <!--[if lt IE 7
     (right here) ------^
     Backtrace:
     1. testthat::expect_equal(class(get_global_marketcap("USD")), "data.frame")
     4. coinmarketcapr::get_global_marketcap("USD")
     6. jsonlite::fromJSON(...)
     7. jsonlite:::parse_and_simplify(...)
     8. jsonlite:::parseJSON(txt, bigint_as_char)
     9. jsonlite:::parse_string(txt, bigint_as_char)
    
     ── 2. Error: The output dataframe Type is (@test-fun.R#14) ───────────────────
     lexical error: invalid char in json text.
     <!DOCTYPE html> <!--[if lt IE 7
     (right here) ------^
     Backtrace:
     1. testthat::expect_equal(...)
     4. coinmarketcapr::get_marketcap_ticker_all("USD")
     6. jsonlite::fromJSON(...)
     7. jsonlite:::parse_and_simplify(...)
     8. jsonlite:::parseJSON(txt, bigint_as_char)
     9. jsonlite:::parse_string(txt, bigint_as_char)
    
     ── 3. Error: The output ggplot Type is (@test-fun.R#22) ──────────────────────
     lexical error: invalid char in json text.
     <!DOCTYPE html> <!--[if lt IE 7
     (right here) ------^
     Backtrace:
     1. testthat::expect_true(is.ggplot(plot_top_currencies("USD")))
     5. coinmarketcapr::plot_top_currencies("USD")
     7. jsonlite::fromJSON(...)
     8. jsonlite:::parse_and_simplify(...)
     9. jsonlite:::parseJSON(txt, bigint_as_char)
     10. jsonlite:::parse_string(txt, bigint_as_char)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
     1. Error: The output dataframe Type is (@test-fun.R#7)
     2. Error: The output dataframe Type is (@test-fun.R#14)
     3. Error: The output ggplot Type is (@test-fun.R#22)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/3s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(coinmarketcapr)
     >
     > test_check("coinmarketcapr")
     ── 1. Error: The output dataframe Type is (@test-fun.R#7) ────────────────────
     lexical error: invalid char in json text.
     <!DOCTYPE html> <!--[if lt IE 7
     (right here) ------^
     Backtrace:
     1. testthat::expect_equal(class(get_global_marketcap("USD")), "data.frame")
     4. coinmarketcapr::get_global_marketcap("USD")
     6. jsonlite::fromJSON(...)
     7. jsonlite:::parse_and_simplify(...)
     8. jsonlite:::parseJSON(txt, bigint_as_char)
     9. jsonlite:::parse_string(txt, bigint_as_char)
    
     ── 2. Error: The output dataframe Type is (@test-fun.R#14) ───────────────────
     lexical error: invalid char in json text.
     <!DOCTYPE html> <!--[if lt IE 7
     (right here) ------^
     Backtrace:
     1. testthat::expect_equal(...)
     4. coinmarketcapr::get_marketcap_ticker_all("USD")
     6. jsonlite::fromJSON(...)
     7. jsonlite:::parse_and_simplify(...)
     8. jsonlite:::parseJSON(txt, bigint_as_char)
     9. jsonlite:::parse_string(txt, bigint_as_char)
    
     ── 3. Error: The output ggplot Type is (@test-fun.R#22) ──────────────────────
     lexical error: invalid char in json text.
     <!DOCTYPE html> <!--[if lt IE 7
     (right here) ------^
     Backtrace:
     1. testthat::expect_true(is.ggplot(plot_top_currencies("USD")))
     5. coinmarketcapr::plot_top_currencies("USD")
     7. jsonlite::fromJSON(...)
     8. jsonlite:::parse_and_simplify(...)
     9. jsonlite:::parseJSON(txt, bigint_as_char)
     10. jsonlite:::parse_string(txt, bigint_as_char)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
     1. Error: The output dataframe Type is (@test-fun.R#7)
     2. Error: The output dataframe Type is (@test-fun.R#14)
     3. Error: The output ggplot Type is (@test-fun.R#22)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64