Running ‘run-all.R’ [8s/11s]
Running the tests in ‘tests/run-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("aidar")
  Loading required package: aidar
  [ FAIL 17 | WARN 0 | SKIP 0 | PASS 103 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_c2.R:25:2'): getAnnotation(2D cloud) ─────────────────────────
  length(ann$keys) not equal to 7.
  1/1 mismatches
  [1] 0 - 7 == -7
  ── Failure ('test_c2.R:27:2'): getAnnotation(2D cloud) ─────────────────────────
  ann$values[ann$keys == "Entries"] not equal to "100".
  Lengths differ: 0 is not 1
  ── Failure ('test_c2.R:28:2'): getAnnotation(2D cloud) ─────────────────────────
  ann$values[ann$keys == "MeanX"] not equal to "26.123".
  Lengths differ: 0 is not 1
  ── Failure ('test_c2.R:29:2'): getAnnotation(2D cloud) ─────────────────────────
  ann$values[ann$keys == "MeanY"] not equal to "50.282".
  Lengths differ: 0 is not 1
  ── Failure ('test_c3.R:27:2'): getAnnotation(3D cloud) ─────────────────────────
  length(ann$keys) not equal to 9.
  1/1 mismatches
  [1] 0 - 9 == -9
  ── Failure ('test_c3.R:29:2'): getAnnotation(3D cloud) ─────────────────────────
  ann$values[ann$keys == "Entries"] not equal to "100".
  Lengths differ: 0 is not 1
  ── Failure ('test_c3.R:30:2'): getAnnotation(3D cloud) ─────────────────────────
  ann$values[ann$keys == "MeanX"] not equal to "26.123".
  Lengths differ: 0 is not 1
  ── Failure ('test_c3.R:31:2'): getAnnotation(3D cloud) ─────────────────────────
  ann$values[ann$keys == "MeanY"] not equal to "50.282".
  Lengths differ: 0 is not 1
  ── Failure ('test_c3.R:32:2'): getAnnotation(3D cloud) ─────────────────────────
  ann$values[ann$keys == "MeanZ"] not equal to "0.1501".
  Lengths differ: 0 is not 1
  ── Failure ('test_h2.R:27:2'): getAnnotation(2D histo) ─────────────────────────
  length(a10$key) not equal to 8.
  1/1 mismatches
  [1] 0 - 8 == -8
  ── Error ('test_h2.R:29:2'): getAnnotation(2D histo) ───────────────────────────
  <subscriptOutOfBoundsError/error/condition>
  Error in `a10$values[[3]]`: subscript out of bounds
  Backtrace:
      ▆
   1. └─testthat::expect_equal(a10$values[[3]], "993") at test_h2.R:29:9
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Failure ('test_h3.R:27:2'): getAnnotation(3D histo) ─────────────────────────
  length(ann$key) not equal to 10.
  1/1 mismatches
  [1] 0 - 10 == -10
  ── Error ('test_h3.R:29:2'): getAnnotation(3D histo) ───────────────────────────
  <subscriptOutOfBoundsError/error/condition>
  Error in `ann$values[[3]]`: subscript out of bounds
  Backtrace:
      ▆
   1. └─testthat::expect_equal(ann$values[[3]], "992") at test_h3.R:29:9
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Failure ('test_p1.R:25:2'): getAnnotation(1D profile) ───────────────────────
  length(a10$key) not equal to 8.
  1/1 mismatches
  [1] 0 - 8 == -8
  ── Error ('test_p1.R:27:2'): getAnnotation(1D profile) ─────────────────────────
  <subscriptOutOfBoundsError/error/condition>
  Error in `a10$values[[3]]`: subscript out of bounds
  Backtrace:
      ▆
   1. └─testthat::expect_equal(a10$values[[3]], "971") at test_p1.R:27:9
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Failure ('test_p2.R:26:2'): getAnnotation(2D profile) ───────────────────────
  length(ann$key) not equal to 8.
  1/1 mismatches
  [1] 0 - 8 == -8
  ── Error ('test_p2.R:28:2'): getAnnotation(2D profile) ─────────────────────────
  <subscriptOutOfBoundsError/error/condition>
  Error in `ann$values[[3]]`: subscript out of bounds
  Backtrace:
      ▆
   1. └─testthat::expect_equal(ann$values[[3]], "953") at test_p2.R:28:9
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  
  [ FAIL 17 | WARN 0 | SKIP 0 | PASS 103 ]
  Error: Test failures
  Execution halted