Running ‘testthat.R’ [8s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(cryptoQuotes)
  
  ── cryptoQuotes 1.3.3 ──────────────────────────────────────────────────────────
  ♥ release notes ★ Browse the source code ★ Read the documentation ★ Join the
  discussion
  > 
  > test_check("cryptoQuotes")
  Saving _problems/test-globalmktcap-16.R
  Saving _problems/test-globalmktcap-25.R
  Saving _problems/test-globalmktcap-16.R
  Saving _problems/test-globalmktcap-25.R
  [ FAIL 4 | WARN 0 | SKIP 15 | PASS 49 ]
  
  ══ Skipped tests (15) ══════════════════════════════════════════════════════════
  • On CRAN (15): 'test-CICD.R:18:3', 'test-CICD.R:90:3', 'test-CICD.R:154:3',
    'test-CICD.R:197:3', 'test-CICD.R:243:3', 'test-FGIndex.R:11:3',
    'test-availableTickers.R:3:3', 'test-availableTickers.R:36:3',
    'test-availableTickers.R:69:3', 'test-availableTickers.R:102:3',
    'test-getFNG.R:3:3', 'test-getFundingrate.R:18:3', 'test-getLSRatio.R:21:3',
    'test-getOpeninterest.R:18:3', 'test-getQuote.R:11:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-globalmktcap.R:12:5'): Test that `get_mktcap()`-function returns sensible values ──
  Expected `get_mktcap(altcoin = lgl)` not to throw any conditions.
  Actually got a <simpleError> with message:
    lexical error: invalid char in json text.
                                           <!DOCTYPE HTML PUBLIC "-//IETF/
                         (right here) ------^
    
  ── Failure ('test-globalmktcap.R:20:5'): Test that `get_mktcap()`-function returns sensible values ──
  Expected `inherits(x = mktcap, what = "xts")` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-globalmktcap.R:12:5'): Test that `get_mktcap()`-function returns sensible values ──
  Expected `get_mktcap(altcoin = lgl)` not to throw any conditions.
  Actually got a <simpleError> with message:
    lexical error: invalid char in json text.
                                           <!DOCTYPE HTML PUBLIC "-//IETF/
                         (right here) ------^
    
  ── Failure ('test-globalmktcap.R:20:5'): Test that `get_mktcap()`-function returns sensible values ──
  Expected `inherits(x = mktcap, what = "xts")` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 4 | WARN 0 | SKIP 15 | PASS 49 ]
  Error:
  ! Test failures.
  Execution halted