Running ‘testthat.R’ [5s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(fmpcloudr)
  > 
  > test_check("fmpcloudr")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (12)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-securityMetrics.R:240:3): Technical Indicators on CRAN ────────
  nrow(ema) > 10 is not TRUE
  
  `actual`:       
  `expected`: TRUE
  ── Failure (test-securityMetrics.R:241:3): Technical Indicators on CRAN ────────
  paste0\(colnames\(ema\), collapse = ""\) does not match "ema".
  Actual value: ""
  ── Failure (test-securityMetrics.R:247:3): Technical Indicators on CRAN ────────
  nrow(wma) > 10 is not TRUE
  
  `actual`:       
  `expected`: TRUE
  ── Failure (test-securityMetrics.R:248:3): Technical Indicators on CRAN ────────
  paste0\(colnames\(wma\), collapse = ""\) does not match "wma".
  Actual value: ""
  ── Failure (test-securityMetrics.R:254:3): Technical Indicators on CRAN ────────
  nrow(dema) > 10 is not TRUE
  
  `actual`:       
  `expected`: TRUE
  ── Failure (test-securityMetrics.R:255:3): Technical Indicators on CRAN ────────
  paste0\(colnames\(dema\), collapse = ""\) does not match "dema".
  Actual value: ""
  ── Failure (test-securityMetrics.R:261:3): Technical Indicators on CRAN ────────
  nrow(tema) > 10 is not TRUE
  
  `actual`:       
  `expected`: TRUE
  ── Failure (test-securityMetrics.R:262:3): Technical Indicators on CRAN ────────
  paste0\(colnames\(tema\), collapse = ""\) does not match "tema".
  Actual value: ""
  ── Failure (test-securityMetrics.R:268:3): Technical Indicators on CRAN ────────
  nrow(will) > 10 is not TRUE
  
  `actual`:       
  `expected`: TRUE
  ── Failure (test-securityMetrics.R:269:3): Technical Indicators on CRAN ────────
  paste0\(colnames\(will\), collapse = ""\) does not match "williams".
  Actual value: ""
  ── Failure (test-securityMetrics.R:282:3): Technical Indicators on CRAN ────────
  nrow(sd) > 10 is not TRUE
  
  `actual`:       
  `expected`: TRUE
  ── Failure (test-securityMetrics.R:283:3): Technical Indicators on CRAN ────────
  paste0\(colnames\(sd\), collapse = ""\) does not match "standardDeviation".
  Actual value: ""
  
  [ FAIL 12 | WARN 12 | SKIP 12 | PASS 42 ]
  Error: Test failures
  Execution halted