Running 'testthat.R' [116s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(fastcpd)
  > 
  > test_check("fastcpd")
  Starting 2 test processes
  [ FAIL 8 | WARN 0 | SKIP 5 | PASS 63 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • These tests are intended to be run manually. (5):
    'test-examples-fastcpd_arima.R:1:1', 'test-examples-fastcpd_arma.R:1:1',
    'test-examples-fastcpd_ts.R:1:1', 'test-experiments.R:1:1',
    'test-fastcpd-sanity.R:4:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-examples-data-transcriptome.R:4:5'): examples/data-transcriptome.txt ──
  <Rcpp::not_compatible/C++Error/error/condition>
  Error in `eval(ei, envir)`: Cannot convert object to a function: [type=NULL; target=CLOSXP, SPECIALSXP, or BUILTINSXP].
  Backtrace:
      ▆
   1. ├─base::source(...) at test-examples-data-transcriptome.R:4:5
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─fastcpd::fastcpd.mean(transcriptome$"10", trim = 0.005)
   6.   └─fastcpd::fastcpd(...)
   7.     └─fastcpd:::fastcpd_impl(...)
  ── Error ('test-examples-data-well_log.R:3:5'): examples/data-well_log.R ───────
  <Rcpp::not_compatible/C++Error/error/condition>
  Error in `eval(ei, envir)`: Cannot convert object to a function: [type=NULL; target=CLOSXP, SPECIALSXP, or BUILTINSXP].
  Backtrace:
      ▆
   1. ├─base::source("examples/data-well_log.R") at test-examples-data-well_log.R:3:5
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─fastcpd::fastcpd.mean(well_log, trim = 0.002)
   6.   └─fastcpd::fastcpd(...)
   7.     └─fastcpd:::fastcpd_impl(...)
  ── Error ('test-coverage.R:5:5'): 1d mean ──────────────────────────────────────
  <Rcpp::not_compatible/C++Error/error/condition>
  Error: Cannot convert object to a function: [type=NULL; target=CLOSXP, SPECIALSXP, or BUILTINSXP].
  Backtrace:
      ▆
   1. └─fastcpd::fastcpd.mean(data) at test-coverage.R:5:5
   2.   └─fastcpd::fastcpd(...)
   3.     └─fastcpd:::fastcpd_impl(...)
  ── Error ('test-coverage.R:14:5'): 1d variance ─────────────────────────────────
  <Rcpp::not_compatible/C++Error/error/condition>
  Error: Cannot convert object to a function: [type=NULL; target=CLOSXP, SPECIALSXP, or BUILTINSXP].
  Backtrace:
      ▆
   1. └─fastcpd::fastcpd.variance(data) at test-coverage.R:14:5
   2.   └─fastcpd::fastcpd(...)
   3.     └─fastcpd:::fastcpd_impl(...)
  ── Error ('test-coverage.R:26:5'): 1d mv ───────────────────────────────────────
  <Rcpp::not_compatible/C++Error/error/condition>
  Error: Cannot convert object to a function: [type=NULL; target=CLOSXP, SPECIALSXP, or BUILTINSXP].
  Backtrace:
      ▆
   1. └─fastcpd::fastcpd.meanvariance(data) at test-coverage.R:26:5
   2.   └─fastcpd::fastcpd(...)
   3.     └─fastcpd:::fastcpd_impl(...)
  ── Error ('test-examples-fastcpd_mean.R:3:5'): examples/fastcpd_mean.R ─────────
  <Rcpp::not_compatible/C++Error/error/condition>
  Error in `eval(ei, envir)`: Cannot convert object to a function: [type=NULL; target=CLOSXP, SPECIALSXP, or BUILTINSXP].
  Backtrace:
      ▆
   1. ├─base::source("examples/fastcpd_mean.R") at test-examples-fastcpd_mean.R:3:5
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─fastcpd::fastcpd.mean(data)
   6.   └─fastcpd::fastcpd(...)
   7.     └─fastcpd:::fastcpd_impl(...)
  ── Error ('test-examples-fastcpd_meanvariance.R:3:5'): examples/fastcpd_meanvariance.R ──
  <Rcpp::not_compatible/C++Error/error/condition>
  Error in `eval(ei, envir)`: Cannot convert object to a function: [type=NULL; target=CLOSXP, SPECIALSXP, or BUILTINSXP].
  Backtrace:
      ▆
   1. ├─base::source("examples/fastcpd_meanvariance.R") at test-examples-fastcpd_meanvariance.R:3:5
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─fastcpd::fastcpd.mv(...)
   6.   └─fastcpd::fastcpd(...)
   7.     └─fastcpd:::fastcpd_impl(...)
  ── Error ('test-examples-fastcpd_variance.R:3:5'): examples/fastcpd_variance.R ──
  <Rcpp::not_compatible/C++Error/error/condition>
  Error in `eval(ei, envir)`: Cannot convert object to a function: [type=NULL; target=CLOSXP, SPECIALSXP, or BUILTINSXP].
  Backtrace:
      ▆
   1. ├─base::source("examples/fastcpd_variance.R") at test-examples-fastcpd_variance.R:3:5
   2. │ ├─base::withVisible(eval(ei, envir))
   3. │ └─base::eval(ei, envir)
   4. │   └─base::eval(ei, envir)
   5. └─fastcpd::fastcpd.variance(...)
   6.   └─fastcpd::fastcpd(...)
   7.     └─fastcpd:::fastcpd_impl(...)
  
  [ FAIL 8 | WARN 0 | SKIP 5 | PASS 63 ]
  Error: Test failures
  Execution halted