Running ‘testthat.R’ [25s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(odin)
  > 
  > test_check("odin")
  [ FAIL 95 | WARN 0 | SKIP 23 | PASS 680 ]
  
  ══ Skipped tests (23) ══════════════════════════════════════════════════════════
  • Engine is r (3): 'test-run-general.R:205:3', 'test-run-general.R:248:3',
    'test-run-general.R:1309:3'
  • On CRAN (16): 'test-can-compile.R:4:3', 'test-can-compile.R:12:3',
    'test-interface.R:8:3', 'test-interface.R:127:3', 'test-package.R:6:3',
    'test-package.R:34:3', 'test-package.R:68:3', 'test-package.R:81:3',
    'test-package.R:102:3', 'test-package.R:113:3', 'test-package.R:145:3',
    'test-package.R:167:3', 'test-run-examples.R:8:3',
    'test-run-examples.R:212:3', 'test-support.R:97:3', 'test-util.R:106:3'
  • compiled example, without opt-in (4): 'test-interface.R:100:3',
    'test-parse2-config.R:43:3', 'test-parse2-config.R:62:3',
    'test-ring-cache.R:38:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-interface.R:19:3'): n_history is configurable ──────────────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. └─odin::odin(...) at test-interface.R:19:2
    2.   └─odin::odin_(...)
    3.     └─odin::odin_parse_(x, options)
    4.       └─odin:::ir_parse(x, options, type)
    5.         └─odin:::ir_serialise(ret, options$pretty)
    6.           └─odin:::ir_serialise_equations(dat$equations)
    7.             └─base::lapply(unname(equations), ir_serialise_equation)
    8.               └─odin (local) FUN(X[[i]], ...)
    9.                 └─odin:::ir_serialise_delay_continuous(eq)
   10.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-ir.R:15:3'): Stage information included in IR ──────────────────
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
      ▆
   1. └─odin::odin_parse_("examples/array_odin.R", options = odin_options(rewrite_constants = FALSE)) at test-ir.R:15:2
   2.   └─odin:::ir_parse(x, options, type)
   3.     └─odin:::ir_serialise(ret, options$pretty)
   4.       └─odin:::ir_serialise_equations(dat$equations)
   5.         └─base::lapply(unname(equations), ir_serialise_equation)
   6.           └─odin (local) FUN(X[[i]], ...)
   7.             └─odin:::ir_serialise_equation_user(eq)
   8.               └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-parse-inplace.R:37:3'): rmultinom is integer ───────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
      ▆
   1. └─odin::odin_parse(...) at test-parse-inplace.R:37:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin:::ir_parse(x, options, type)
   4.       └─odin:::ir_serialise(ret, options$pretty)
   5.         └─odin:::ir_serialise_equations(dat$equations)
   6.           └─base::lapply(unname(equations), ir_serialise_equation)
   7.             └─odin (local) FUN(X[[i]], ...)
   8.               └─odin:::ir_serialise_equation_user(eq)
   9.                 └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-parse-inplace.R:55:3'): rmhyper is integer ─────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
      ▆
   1. └─odin::odin_parse(...) at test-parse-inplace.R:55:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin:::ir_parse(x, options, type)
   4.       └─odin:::ir_serialise(ret, options$pretty)
   5.         └─odin:::ir_serialise_equations(dat$equations)
   6.           └─base::lapply(unname(equations), ir_serialise_equation)
   7.             └─odin (local) FUN(X[[i]], ...)
   8.               └─odin:::ir_serialise_equation_user(eq)
   9.                 └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-parse2-general.R:175:3'): user calls may use some functions ────
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
      ▆
   1. └─odin::odin_parse("deriv(x) <- 1\ninitial(x) <- r\nr <- user(-2)") at test-parse2-general.R:175:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin:::ir_parse(x, options, type)
   4.       └─odin:::ir_serialise(ret, options$pretty)
   5.         └─odin:::ir_serialise_equations(dat$equations)
   6.           └─base::lapply(unname(equations), ir_serialise_equation)
   7.             └─odin (local) FUN(X[[i]], ...)
   8.               └─odin:::ir_serialise_equation_user(eq)
   9.                 └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-parse2-general.R:750:3'): detect integers ──────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
      ▆
   1. └─odin::odin_parse(...) at test-parse2-general.R:750:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin:::ir_parse(x, options, type)
   4.       └─odin:::ir_serialise(ret, options$pretty)
   5.         └─odin:::ir_serialise_equations(dat$equations)
   6.           └─base::lapply(unname(equations), ir_serialise_equation)
   7.             └─odin (local) FUN(X[[i]], ...)
   8.               └─odin:::ir_serialise_equation_user(eq)
   9.                 └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-parse2-rewrite.R:19:3'): rewrite arrays drops references to dim_ variables ──
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
      ▆
   1. └─odin::odin_parse(...) at test-parse2-rewrite.R:19:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin:::ir_parse(x, options, type)
   4.       └─odin:::ir_serialise(ret, options$pretty)
   5.         └─odin:::ir_serialise_equations(dat$equations)
   6.           └─base::lapply(unname(equations), ir_serialise_equation)
   7.             └─odin (local) FUN(X[[i]], ...)
   8.               └─odin:::ir_serialise_equation_user(eq)
   9.                 └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-parse2-rewrite.R:37:3'): Can create compile-time constants ─────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
      ▆
   1. └─odin::odin_parse(...) at test-parse2-rewrite.R:37:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin:::ir_parse(x, options, type)
   4.       └─odin:::ir_serialise(ret, options$pretty)
   5.         └─odin:::ir_serialise_equations(dat$equations)
   6.           └─base::lapply(unname(equations), ir_serialise_equation)
   7.             └─odin (local) FUN(X[[i]], ...)
   8.               └─odin:::ir_serialise_equation_user(eq)
   9.                 └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-parse2-unused.R:56:3'): delayed non-unused variables ───────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-parse2-unused.R:56:2
    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. └─odin::odin_parse(...)
   10.   └─odin::odin_parse_(xx, options)
   11.     └─odin:::ir_parse(x, options, type)
   12.       └─odin:::ir_serialise(ret, options$pretty)
   13.         └─odin:::ir_serialise_equations(dat$equations)
   14.           └─base::lapply(unname(equations), ir_serialise_equation)
   15.             └─odin (local) FUN(X[[i]], ...)
   16.               └─odin:::ir_serialise_delay_continuous(eq)
   17.                 └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-parse2-unused.R:65:3'): dimension names get cleaned ────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-parse2-unused.R:65:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse(...)
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin:::ir_parse(x, options, type)
    9.       └─odin:::ir_serialise(ret, options$pretty)
   10.         └─odin:::ir_serialise_equations(dat$equations)
   11.           └─base::lapply(unname(equations), ir_serialise_equation)
   12.             └─odin (local) FUN(X[[i]], ...)
   13.               └─odin:::ir_serialise_equation_user(eq)
   14.                 └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-parse2-unused.R:95:3'): Can suppress unused variables with a comment ──
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(f("a <- user(1) # ignore.unused")) at test-parse2-unused.R:95:2
    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. └─odin (local) f("a <- user(1) # ignore.unused")
   10.   └─odin::odin_parse_(c("initial(x) <- 0", "deriv(x) <- 0", code)) at test-parse2-unused.R:93:4
   11.     └─odin:::ir_parse(x, options, type)
   12.       └─odin:::ir_serialise(ret, options$pretty)
   13.         └─odin:::ir_serialise_equations(dat$equations)
   14.           └─base::lapply(unname(equations), ir_serialise_equation)
   15.             └─odin (local) FUN(X[[i]], ...)
   16.               └─odin:::ir_serialise_equation_user(eq)
   17.                 └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-run-basic.R:116:3'): user variables (r) ────────────────────────
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:116:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-run-basic.R:149:3'): simple operations in user variables are allowed (r) ──
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:149:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-run-basic.R:354:3'): user array (r) ────────────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:354:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:370:3'): user matrix (r) ───────────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:370:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:401:3'): user array - indirect (r) ─────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:401:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:425:3'): user array - direct (r) ───────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:425:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:447:3'): user array - direct 3d (r) ────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:447:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:469:3'): interpolation (r) ─────────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:469:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:544:3'): multiple arrays: dynamic (r) ──────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:544:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:563:3'): multiple output arrays (r) ────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:563:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:626:3'): rich user arrays (r) ──────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:626:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:645:3'): rich user sized arrays (r) ────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:645:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:663:3'): discrete delays: matrix (r) ───────────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:663:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_discrete(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-basic.R:686:3'): multinomial (r) ───────────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:686:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:763:3'): Can substitute user variables (r) ─────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:763:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-basic.R:787:3'): Can rewrite common dimensions (r) ─────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-basic.R:787:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-delay-continuous.R:11:3'): mixed delay model (r) ───────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:11:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-continuous.R:73:3'): use subset of variables (r) ─────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:73:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-continuous.R:93:3'): delay array storage (r) ─────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:93:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-continuous.R:168:3'): 3 arg delay with array (r) ─────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:168:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-delay-continuous.R:198:3'): delay index packing (r) ────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:198:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-continuous.R:260:3'): nontrivial time (r) ────────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:260:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-continuous.R:275:3'): overlapping array storage (r) ──
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:275:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-continuous.R:335:3'): delayed delays (r) ─────────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:335:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-continuous.R:359:3'): compute derivative (r) ─────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:359:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-continuous.R:433:3'): delay with array and provide input (r) ──
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:433:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-continuous.R:477:3'): set initial conditions in delay differential equation (r) ──
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:477:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-continuous.R:493:3'): can set/omit ynames (r) ────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-continuous.R:493:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-discrete.R:4:3'): delays (r) ─────────────────────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-discrete.R:4:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_discrete(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-discrete.R:20:3'): delays: scalar variable (r) ───────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-discrete.R:20:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_discrete(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-discrete.R:44:3'): delays: scalar expression (r) ─────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-discrete.R:44:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_discrete(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-discrete.R:69:3'): delays: vector variable (r) ───────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-discrete.R:69:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_discrete(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-discrete.R:96:3'): delays: vector expression (r) ─────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-discrete.R:96:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_discrete(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-discrete.R:122:3'): delay vars that depend on time (r) ──
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-discrete.R:122:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_discrete(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-discrete.R:141:3'): disable update function (r) ──────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-discrete.R:141:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_discrete(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-delay-discrete.R:183:3'): default (vector) (r) ─────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-delay-discrete.R:183:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-discrete.R:22:3'): output (r) ──────────────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-discrete.R:22:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-discrete.R:47:3'): interpolate (r) ─────────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-discrete.R:47:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-discrete.R:88:3'): 2d array equations (r) ──────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-discrete.R:88:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-discrete.R:121:3'): complex initialisation: scalar (r) ─────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-discrete.R:121:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-examples.R:96:3'): user arrays (r) ─────────────────────────
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin("examples/array_odin.R") at test-run-examples.R:96:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-run-examples.R:179:3'): lv (r) ─────────────────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin("examples/lv4_odin.R") at test-run-examples.R:179:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:22:3'): user variables (r) ───────────────────────
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:22:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-run-general.R:74:3'): non-numeric time (r) ─────────────────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:74:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-general.R:86:3'): delays and initial conditions (r) ────────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:86:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-general.R:119:3'): non-numeric user (r) ────────────────────
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:119:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-run-general.R:170:3'): time dependent (r) ──────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:170:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:528:3'): transform variables with output (r) ─────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:528:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:556:3'): transform variables without time (r) ────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:556:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:625:3'): two output arrays (r) ───────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:625:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:668:3'): non-numeric input (r) ───────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:668:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:808:3'): sum over one dimension (r) ──────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:808:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:847:3'): sum over two dimensions (r) ─────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:847:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:921:3'): sum for a 4d array (r) ──────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:921:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:1030:3'): integer vector (r) ─────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:1030:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:1054:3'): integer matrix (r) ─────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:1054:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:1092:3'): user variable information (r) ──────────
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:1092:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-run-general.R:1142:3'): user integer (r) ───────────────────────
  Error in `ir_serialise_expression(eq$user$max)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:1142:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$max)
  ── Error ('test-run-general.R:1157:3'): multiple constraints (r) ───────────────
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:1157:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-run-general.R:1170:3'): set_user honours constraints (r) ───────
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:1170:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-run-general.R:1184:3'): user sized dependent variables are allowed (r) ──
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:1184:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:1199:3'): user parameter validation (r) ──────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:1199:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:1255:3'): sum over integer (r) ───────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:1255:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-general.R:1294:3'): force integer on a numeric vector truncates (r) ──
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-general.R:1294:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-interpolation.R:4:3'): constant (r) ────────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-interpolation.R:4:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-interpolation.R:50:3'): constant array (r) ─────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-interpolation.R:50:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-interpolation.R:92:3'): constant 3d array (r) ──────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-interpolation.R:92:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-interpolation.R:147:3'): linear (r) ────────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-interpolation.R:147:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-interpolation.R:180:3'): spline (r) ────────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-interpolation.R:180:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-interpolation.R:208:5'): interpolation with two variables (r) ──
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin_(...) at test-run-interpolation.R:208:4
    5.   └─odin::odin_parse_(x, options)
    6.     └─odin:::ir_parse(x, options, type)
    7.       └─odin:::ir_serialise(ret, options$pretty)
    8.         └─odin:::ir_serialise_equations(dat$equations)
    9.           └─base::lapply(unname(equations), ir_serialise_equation)
   10.             └─odin (local) FUN(X[[i]], ...)
   11.               └─odin:::ir_serialise_equation_user(eq)
   12.                 └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-interpolation.R:263:3'): interpolation in a delay (r) ──────
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-interpolation.R:263:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-interpolation.R:292:3'): interpolation in a delay, with default (r) ──
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-interpolation.R:292:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-interpolation.R:323:3'): critical times (r) ────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-interpolation.R:323:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-interpolation.R:351:3'): user sized interpolation, 1d (r) ──
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-interpolation.R:351:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-interpolation.R:383:3'): user sized interpolation, 2d (r) ──
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-interpolation.R:383:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-interpolation.R:414:3'): double delayed interpolation function (r) ──
  Error in `ir_serialise_expression(eq$delay$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-interpolation.R:414:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_delay_continuous(eq)
   13.                   └─odin:::ir_serialise_expression(eq$delay$default)
  ── Error ('test-run-library.R:112:3'): 2-arg round (r) ─────────────────────────
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-library.R:112:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$min)
  ── Error ('test-run-library.R:142:3'): multivariate hypergeometric (r) ─────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-library.R:142:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-library.R:176:3'): multivariate hypergeometric - integer input (r) ──
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-library.R:176:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-library.R:217:3'): Throw an error if requesting more elements than possible (r) ──
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-library.R:217:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-library.R:240:3'): Can use as.numeric (r) ──────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-library.R:240:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-regression.R:4:3'): bug #78 (r) ────────────────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-regression.R:4:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-stochastic.R:127:3'): round & rbinom (r) ───────────────────
  Error in `ir_serialise_expression(eq$user$default)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin(...) at test-run-stochastic.R:127:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$default)
  ── Error ('test-run-stochastic.R:143:3'): mutlinomial (r) ──────────────────────
  Error in `ir_serialise_expression(eq$user$min)`: unhandled expression [odin bug]
  Backtrace:
       ▆
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. └─odin::odin("stochastic/sir_discrete.R") at test-run-stochastic.R:143:2
    5.   └─odin::odin_(...)
    6.     └─odin::odin_parse_(x, options)
    7.       └─odin:::ir_parse(x, options, type)
    8.         └─odin:::ir_serialise(ret, options$pretty)
    9.           └─odin:::ir_serialise_equations(dat$equations)
   10.             └─base::lapply(unname(equations), ir_serialise_equation)
   11.               └─odin (local) FUN(X[[i]], ...)
   12.                 └─odin:::ir_serialise_equation_user(eq)
   13.                   └─odin:::ir_serialise_expression(eq$user$min)
  
  [ FAIL 95 | WARN 0 | SKIP 23 | PASS 680 ]
  Error: Test failures
  Execution halted