Running ‘testthat.R’ [33s/27s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eplusr)
  > eplusr_option(verbose_info = FALSE)
  $verbose_info
  [1] FALSE
  
  > 
  > test_check("eplusr")
  Starting 2 test processes.
  > test-epw.R: Superclass Idd has cloneable=FALSE, but subclass EpwIdd has cloneable=TRUE. A subclass cannot be cloneable when its superclass is not cloneable, so cloning will be disabled for EpwIdd.
  Saving _problems/test-idd-115.R
  Saving _problems/test-idd-258.R
  Saving _problems/test-iddobj-3.R
  Saving _problems/test-epw-5.R
  > test-impl-epw.R: Superclass Idd has cloneable=FALSE, but subclass EpwIdd has cloneable=TRUE. A subclass cannot be cloneable when its superclass is not cloneable, so cloning will be disabled for EpwIdd.
  > test-impl-epw.R: Superclass Idd has cloneable=FALSE, but subclass EpwIdd has cloneable=TRUE. A subclass cannot be cloneable when its superclass is not cloneable, so cloning will be disabled for EpwIdd.
  Saving _problems/test-impl-epw-4.R
  Saving _problems/test-impl-epw-371.R
  Saving _problems/test-impl-idd-2.R
  Saving _problems/test-impl-iddobj-3.R
  Saving _problems/test-impl-idfobj-sch-207.R
  Saving _problems/test-parse-3.R
  Saving _problems/test-parse-288.R
  > test-utils.R: Multiple versions found for IDD v9.0: 'v9.0.1'. The last patched version v9.0.1 will be used. Please explicitly give the full version if you want to use the other versions.
  [ FAIL 11 | WARN 0 | SKIP 196 | PASS 263 ]
  
  ══ Skipped tests (196) ═════════════════════════════════════════════════════════
  • On CRAN (196): 'test-assert.R:55:5', 'test-diagram.R:2:5',
    'test-format.R:2:5', 'test-geom.R:3:5', 'test-group.R:2:5', 'test-idd.R:5:5',
    'test-idd.R:16:5', 'test-epw.R:12:5', 'test-epw.R:30:5', 'test-epw.R:172:5',
    'test-epw.R:193:5', 'test-epw.R:218:5', 'test-epw.R:281:5',
    'test-epw.R:331:5', 'test-epw.R:470:5', 'test-epw.R:484:5',
    'test-epw.R:498:5', 'test-epw.R:510:5', 'test-epw.R:526:5',
    'test-idfobj-sch.R:5:5', 'test-idfobj-sch.R:23:5', 'test-idfobj-sch.R:41:5',
    'test-idfobj-sch.R:128:5', 'test-idfobj-sch.R:228:5',
    'test-idfobj-sch.R:305:5', 'test-idfobj-sch.R:330:5', 'test-idfobj.R:3:5',
    'test-idfobj.R:21:5', 'test-idfobj.R:30:5', 'test-idfobj.R:39:5',
    'test-idfobj.R:48:5', 'test-idfobj.R:57:5', 'test-idfobj.R:66:5',
    'test-idfobj.R:75:5', 'test-idfobj.R:84:5', 'test-idfobj.R:121:5',
    'test-idfobj.R:186:5', 'test-idfobj.R:244:5', 'test-idfobj.R:280:5',
    'test-idfobj.R:308:5', 'test-idfobj.R:324:5', 'test-idfobj.R:416:5',
    'test-idfobj.R:452:5', 'test-idfobj.R:517:5', 'test-idfobj.R:549:5',
    'test-idfobj.R:570:5', 'test-idfobj.R:583:5', 'test-idfobj.R:603:5',
    'test-idfobj.R:631:5', 'test-idfobj.R:646:5', 'test-idfobj.R:663:5',
    'test-impl-geom.R:3:5', 'test-impl-geom.R:186:5', 'test-impl-geom.R:217:5',
    'test-impl-geom.R:237:5', 'test-idf.R:3:5', 'test-idf.R:24:5',
    'test-idf.R:33:5', 'test-idf.R:44:5', 'test-idf.R:67:5', 'test-idf.R:99:5',
    'test-idf.R:116:5', 'test-idf.R:132:5', 'test-idf.R:144:5',
    'test-idf.R:155:5', 'test-idf.R:166:5', 'test-idf.R:183:5',
    'test-idf.R:200:5', 'test-idf.R:223:5', 'test-idf.R:233:5',
    'test-idf.R:246:5', 'test-idf.R:259:5', 'test-idf.R:282:5',
    'test-idf.R:298:5', 'test-idf.R:309:5', 'test-idf.R:320:5',
    'test-idf.R:364:5', 'test-idf.R:383:5', 'test-idf.R:399:5',
    'test-idf.R:414:5', 'test-idf.R:504:5', 'test-idf.R:568:5',
    'test-idf.R:590:5', 'test-idf.R:629:5', 'test-idf.R:645:5',
    'test-idf.R:658:5', 'test-idf.R:668:5', 'test-idf.R:702:5',
    'test-idf.R:716:5', 'test-idf.R:728:5', 'test-idf.R:743:5',
    'test-idf.R:783:5', 'test-idf.R:803:5', 'test-idf.R:851:5',
    'test-idf.R:860:5', 'test-idf.R:887:5', 'test-idf.R:1126:5',
    'test-idf.R:1139:5', 'test-idf.R:1152:5', 'test-idf.R:1161:5',
    'test-idf.R:1169:5', 'test-idf.R:1184:5', 'test-idf.R:1195:5',
    'test-idf.R:1216:5', 'test-idf.R:1241:5', 'test-idf.R:1248:5',
    'test-idf.R:1267:5', 'test-idf.R:1282:5', 'test-idf.R:1300:5',
    'test-impl-idfobj-sch.R:5:5', 'test-impl-idfobj-sch.R:92:5',
    'test-impl-idfobj-sch.R:285:5', 'test-impl-idfobj.R:3:5',
    'test-impl-idfobj.R:56:5', 'test-impl-idfobj.R:98:5',
    'test-impl-idfobj.R:150:5', 'test-impl-idfobj.R:166:5',
    'test-impl-idfobj.R:198:5', 'test-impl-viewer.R:3:5', 'test-install.R:2:5',
    'test-install.R:16:5', 'test-job.R:2:5', 'test-param.R:2:5',
    'test-param.R:24:5', 'test-param.R:45:5', 'test-param.R:87:5',
    'test-param.R:107:5', 'test-param.R:151:5', 'test-param.R:169:5',
    'test-param.R:198:5', 'test-param.R:210:5', 'test-parse.R:397:5',
    'test-rdd.R:2:5', 'test-reload.R:3:5', 'test-impl-idf.R:3:5',
    'test-impl-idf.R:568:5', 'test-impl-idf.R:662:5', 'test-impl-idf.R:1451:5',
    'test-impl-idf.R:1510:5', 'test-impl-idf.R:1635:5', 'test-impl-idf.R:1657:5',
    'test-impl-idf.R:1783:5', 'test-impl-idf.R:1844:5', 'test-impl-idf.R:1964:5',
    'test-impl-idf.R:2099:5', 'test-impl-idf.R:2158:5', 'test-impl-idf.R:2189:5',
    'test-impl-idf.R:2202:5', 'test-impl-idf.R:2234:5', 'test-impl-idf.R:2308:5',
    'test-impl-idf.R:2357:5', 'test-impl-idf.R:2402:5', 'test-impl-idf.R:2508:5',
    'test-impl-idf.R:2526:5', 'test-impl-idf.R:2548:5', 'test-impl-idf.R:2597:5',
    'test-impl-idf.R:2638:5', 'test-sql.R:2:5', 'test-sql.R:132:5',
    'test-run.R:2:5', 'test-run.R:22:5', 'test-run.R:40:5', 'test-run.R:58:5',
    'test-run.R:119:5', 'test-run.R:188:5', 'test-run.R:300:5',
    'test-run.R:391:5', 'test-run.R:438:5', 'test-run.R:484:5',
    'test-run.R:529:5', 'test-run.R:555:5', 'test-run.R:714:5',
    'test-run.R:769:5', 'test-validate.R:3:5', 'test-viewer.R:3:5',
    'test-transition.R:3:5', 'test-transition.R:102:5',
    'test-transition.R:370:5', 'test-transition.R:508:5',
    'test-transition.R:637:5', 'test-transition.R:684:5',
    'test-transition.R:866:5', 'test-transition.R:895:5',
    'test-transition.R:1119:5', 'test-transition.R:1200:5',
    'test-transition.R:1328:5', 'test-transition.R:1410:5',
    'test-transition.R:1508:5', 'test-transition.R:1537:5',
    'test-transition.R:1814:5', 'test-transition.R:2008:5',
    'test-transition.R:2094:5', 'test-transition.R:2276:5',
    'test-transition.R:2480:5', 'test-transition.R:2505:5',
    'test-transition.R:2685:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-idd.R:115:5'): Idd class ───────────────────────────────────────
  Error in ``[.data.table`(ext, , `:=`(extensible_group = list(c(rep(0L, first_extensible - 1L), rep(seq_len(num_group), each = num_extensible)))), by = class_id)`: attempt access index 5/5 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(idd <- use_idd(idftext("idd", "9.9.9"))) at test-idd.R:115:5
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─eplusr::use_idd(idftext("idd", "9.9.9"))
   10.   ├─base::tryCatch(...)
   11.   │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12.   │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13.   │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   14.   └─eplusr:::read_idd(idd, encoding = encoding)
   15.     └─Idd$new(path, encoding = encoding)
   16.       └─eplusr (local) initialize(...)
   17.         └─eplusr:::parse_idd_file(path, encoding = encoding)
   18.           └─eplusr:::complete_property(dt_field, "field", dt_class, epw = epw)
   19.             └─eplusr:::parse_field_property(dt, ref, epw = epw)
   20.               └─eplusr:::parse_field_property_extensible_group(dt, ref)
   21.                 ├─...[]
   22.                 └─data.table:::`[.data.table`(...)
  ── Error ('test-idd.R:258:5'): Idd S3 methods ──────────────────────────────────
  Error in ``[.data.table`(ext, , `:=`(extensible_group = list(c(rep(0L, first_extensible - 1L), rep(seq_len(num_group), each = num_extensible)))), by = class_id)`: attempt access index 5/5 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(idd <- use_idd(idftext("idd", "9.9.9"))) at test-idd.R:258:5
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─eplusr::use_idd(idftext("idd", "9.9.9"))
   10.   ├─base::tryCatch(...)
   11.   │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12.   │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13.   │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   14.   └─eplusr:::read_idd(idd, encoding = encoding)
   15.     └─Idd$new(path, encoding = encoding)
   16.       └─eplusr (local) initialize(...)
   17.         └─eplusr:::parse_idd_file(path, encoding = encoding)
   18.           └─eplusr:::complete_property(dt_field, "field", dt_class, epw = epw)
   19.             └─eplusr:::parse_field_property(dt, ref, epw = epw)
   20.               └─eplusr:::parse_field_property_extensible_group(dt, ref)
   21.                 ├─...[]
   22.                 └─data.table:::`[.data.table`(...)
  ── Error ('test-iddobj.R:3:5'): IddObject class ────────────────────────────────
  Error in ``[.data.table`(ext, , `:=`(extensible_group = list(c(rep(0L, first_extensible - 1L), rep(seq_len(num_group), each = num_extensible)))), by = class_id)`: attempt access index 5/5 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(idd <- Idd$new(idftext("idd", "9.9"))) at test-iddobj.R:3:5
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─Idd$new(idftext("idd", "9.9"))
   10.   └─eplusr (local) initialize(...)
   11.     └─eplusr:::parse_idd_file(path, encoding = encoding)
   12.       └─eplusr:::complete_property(dt_field, "field", dt_class, epw = epw)
   13.         └─eplusr:::parse_field_property(dt, ref, epw = epw)
   14.           └─eplusr:::parse_field_property_extensible_group(dt, ref)
   15.             ├─...[]
   16.             └─data.table:::`[.data.table`(...)
  ── Error ('test-epw.R:5:5'): IDD ───────────────────────────────────────────────
  Error in ``[.data.table`(ext, , `:=`(extensible_group = list(c(rep(0L, first_extensible - 1L), rep(seq_len(num_group), each = num_extensible)))), by = class_id)`: attempt access index 5/5 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-epw.R:5:5
    2. │ └─testthat::quasi_label(enquo(object))
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─EpwIdd$new(system.file("extdata/epw.idd", package = "eplusr"))
    5.   └─eplusr (local) initialize(...)
    6.     └─eplusr:::parse_idd_file(path, epw = TRUE, encoding = encoding)
    7.       └─eplusr:::complete_property(dt_field, "field", dt_class, epw = epw)
    8.         └─eplusr:::parse_field_property(dt, ref, epw = epw)
    9.           └─eplusr:::parse_field_property_extensible_group(dt, ref)
   10.             ├─...[]
   11.             └─data.table:::`[.data.table`(...)
  ── Error ('test-impl-epw.R:4:5'): Epw Header ───────────────────────────────────
  Error in ``[.data.table`(ext, , `:=`(extensible_group = list(c(rep(0L, first_extensible - 1L), rep(seq_len(num_group), each = num_extensible)))), by = class_id)`: attempt access index 5/5 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-impl-epw.R:4:5
    2. │ └─testthat::quasi_label(enquo(object))
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─eplusr:::get_epw_idd("before_2021")
    5.   └─EpwIdd$new(...)
    6.     └─eplusr (local) initialize(...)
    7.       └─eplusr:::parse_idd_file(path, epw = TRUE, encoding = encoding)
    8.         └─eplusr:::complete_property(dt_field, "field", dt_class, epw = epw)
    9.           └─eplusr:::parse_field_property(dt, ref, epw = epw)
   10.             └─eplusr:::parse_field_property_extensible_group(dt, ref)
   11.               ├─...[]
   12.               └─data.table:::`[.data.table`(...)
  ── Error ('test-impl-epw.R:371:5'): Epw Data ───────────────────────────────────
  Error in ``[.data.table`(ext, , `:=`(extensible_group = list(c(rep(0L, first_extensible - 1L), rep(seq_len(num_group), each = num_extensible)))), by = class_id)`: attempt access index 5/5 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─eplusr:::get_epw_idd() at test-impl-epw.R:371:5
   2.   └─EpwIdd$new(...)
   3.     └─eplusr (local) initialize(...)
   4.       └─eplusr:::parse_idd_file(path, epw = TRUE, encoding = encoding)
   5.         └─eplusr:::complete_property(dt_field, "field", dt_class, epw = epw)
   6.           └─eplusr:::parse_field_property(dt, ref, epw = epw)
   7.             └─eplusr:::parse_field_property_extensible_group(dt, ref)
   8.               ├─...[]
   9.               └─data.table:::`[.data.table`(...)
  ── Error ('test-impl-idd.R:2:5'): Idd implementation ───────────────────────────
  Error in ``[.data.table`(ext, , `:=`(extensible_group = list(c(rep(0L, first_extensible - 1L), rep(seq_len(num_group), each = num_extensible)))), by = class_id)`: attempt access index 5/5 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-impl-idd.R:2:5
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─eplusr:::parse_idd_file(idftext("idd", "9.9.9"))
   10.   └─eplusr:::complete_property(dt_field, "field", dt_class, epw = epw)
   11.     └─eplusr:::parse_field_property(dt, ref, epw = epw)
   12.       └─eplusr:::parse_field_property_extensible_group(dt, ref)
   13.         ├─...[]
   14.         └─data.table:::`[.data.table`(...)
  ── Error ('test-impl-iddobj.R:3:5'): IddObject implementation ──────────────────
  Error in ``[.data.table`(ext, , `:=`(extensible_group = list(c(rep(0L, first_extensible - 1L), rep(seq_len(num_group), each = num_extensible)))), by = class_id)`: attempt access index 5/5 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-impl-iddobj.R:3:5
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─eplusr:::parse_idd_file(idftext("idd", "9.9.9"))
   10.   └─eplusr:::complete_property(dt_field, "field", dt_class, epw = epw)
   11.     └─eplusr:::parse_field_property(dt, ref, epw = epw)
   12.       └─eplusr:::parse_field_property_extensible_group(dt, ref)
   13.         ├─...[]
   14.         └─data.table:::`[.data.table`(...)
  ── Error ('test-impl-idfobj-sch.R:200:5'): compact_sch_time() ──────────────────
  Error in ``[.data.table`(value, !J("linear"), on = "interpolate", by = "daytype_index", `:=`(time_rleid, rleid(value)))`: attempt access index 5/5 in VECTOR_ELT
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-impl-idfobj-sch.R:200:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─eplusr:::compact_sch_time(meta, value)
   5.   ├─...[]
   6.   └─data.table:::`[.data.table`(...)
  ── Error ('test-parse.R:3:5'): parse_idd_file() ────────────────────────────────
  Error in ``[.data.table`(ext, , `:=`(extensible_group = list(c(rep(0L, first_extensible - 1L), rep(seq_len(num_group), each = num_extensible)))), by = class_id)`: attempt access index 5/5 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-parse.R:3:5
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─eplusr:::parse_idd_file(idftext("idd", "9.9.9"))
   10.   └─eplusr:::complete_property(dt_field, "field", dt_class, epw = epw)
   11.     └─eplusr:::parse_field_property(dt, ref, epw = epw)
   12.       └─eplusr:::parse_field_property_extensible_group(dt, ref)
   13.         ├─...[]
   14.         └─data.table:::`[.data.table`(...)
  ── Error ('test-parse.R:288:5'): parse_idd_file() ──────────────────────────────
  Error in ``[.data.table`(ext, , `:=`(extensible_group = list(c(rep(0L, first_extensible - 1L), rep(seq_len(num_group), each = num_extensible)))), by = class_id)`: attempt access index 5/5 in VECTOR_ELT
  Backtrace:
      ▆
   1. ├─testthat::expect_type(...) at test-parse.R:288:5
   2. │ └─testthat::quasi_label(enquo(object))
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─eplusr:::parse_idd_file(...)
   5.   └─eplusr:::complete_property(dt_field, "field", dt_class, epw = epw)
   6.     └─eplusr:::parse_field_property(dt, ref, epw = epw)
   7.       └─eplusr:::parse_field_property_extensible_group(dt, ref)
   8.         ├─...[]
   9.         └─data.table:::`[.data.table`(...)
  
  [ FAIL 11 | WARN 0 | SKIP 196 | PASS 263 ]
  Error:
  ! Test failures.
  Execution halted