Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(odin)
  > 
  > test_check("odin")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (15)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-interface.R:8:3): verbose ───────────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
       █
    1. ├─testthat::expect_output(...) test-interface.R:8:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(temp, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─odin::odin(...)
   11.   └─odin::odin_(...)
   12.     └─odin::odin_parse_(x, options)
   13.       └─odin::odin_options(options = options)
   14.         └─odin::can_compile(verbose = FALSE)
   15.           └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-interface.R:18:3): n_history is configurable ────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin(...) test-interface.R:18:2
   2.   └─odin::odin_(...)
   3.     └─odin::odin_options(...)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-interface.R:38:3): sensible error on empty input ──────────────
  `odin_(path)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Did not find a deriv() or an update() call"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-interface.R:38:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_(path)
   7.   └─odin::odin_options(...)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-interface.R:42:3): sensible error on empty input ──────────────
  `odin_(path)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Did not find a deriv() or an update() call"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-interface.R:42:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_(path)
   7.   └─odin::odin_options(...)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-interface.R:49:3): prevent unknown target ─────────────────────
  `odin(...)` threw an error with unexpected message.
  Expected match: "Unknown target 'fortran'"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-interface.R:49:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin(...)
    7.   └─odin::odin_(...)
    8.     └─odin::odin_parse_(x, options)
    9.       └─odin::odin_options(options = options)
   10.         └─odin::can_compile(verbose = FALSE)
   11.           └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-interface.R:60:3): force a vector of strings (compile) ──────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin(c("deriv(y) <- 0.5", "initial(y) <- 1"), target = "r") test-interface.R:60:2
   2.   └─odin::odin_(...)
   3.     └─odin::odin_parse_(x, options)
   4.       └─odin::odin_options(options = options)
   5.         └─odin::can_compile(verbose = FALSE)
   6.           └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-interface.R:69:3): force a vector of strings (parse) ────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(c("deriv(y) <- 0.5", "initial(y) <- 1")) test-interface.R:69:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-interface.R:77:3): force a symbol containing code ───────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin(code, target = "r") test-interface.R:77:2
   2.   └─odin::odin_(...)
   3.     └─odin::odin_parse_(x, options)
   4.       └─odin::odin_options(options = options)
   5.         └─odin::can_compile(verbose = FALSE)
   6.           └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-interface.R:86:3): force a symbol containing code (parse) ───────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(code) test-interface.R:86:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-interface.R:99:3): delay discrete models with defaults are prevented in C ──
  `odin(...)` threw an error with unexpected message.
  Expected match: "Discrete delays with default not yet supported"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-interface.R:99:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin(...)
    7.   └─odin::odin_(...)
    8.     └─odin::odin_parse_(x, options)
    9.       └─odin::odin_options(options = options)
   10.         └─odin::can_compile(verbose = FALSE)
   11.           └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-interface.R:108:3): delay discrete models with defaults are prevented in C ──
  `odin(...)` threw an error with unexpected message.
  Expected match: "Discrete delays with default not yet supported"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-interface.R:108:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin(...)
    7.   └─odin::odin_(...)
    8.     └─odin::odin_options(...)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-interface.R:140:3): compatibility layer passes to R6 class ──────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin(c("deriv(y) <- 0.5", "initial(y) <- 1"), target = "r") test-interface.R:140:2
   2.   └─odin::odin_(...)
   3.     └─odin::odin_parse_(x, options)
   4.       └─odin::odin_options(options = options)
   5.         └─odin::can_compile(verbose = FALSE)
   6.           └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-ir.R:5:3): deserialise ──────────────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse_(code, type = "text") test-ir.R:5:2
   2.   └─odin::odin_options(options = options)
   3.     └─odin::can_compile(verbose = FALSE)
   4.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-ir.R:15:3): Stage information included in IR ────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse_("examples/array_odin.R", options = odin_options(rewrite_constants = FALSE)) test-ir.R:15:2
   2.   └─odin::odin_options(options = options)
   3.     └─odin::can_compile(verbose = FALSE)
   4.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-odin-build.R:6:3): build from validate ──────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_options(verbose = TRUE, workdir = tempfile()) test-odin-build.R:6:2
   2.   └─odin::can_compile(verbose = FALSE)
   3.     └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-odin-build.R:21:3): build from ir ───────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_options(verbose = TRUE, workdir = tempfile()) test-odin-build.R:21:2
   2.   └─odin::can_compile(verbose = FALSE)
   3.     └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-odin-build.R:36:3): build failure ───────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse_(code, type = "text") test-odin-build.R:36:2
   2.   └─odin::odin_options(options = options)
   3.     └─odin::can_compile(verbose = FALSE)
   4.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-odin-build.R:46:3): invalid input ───────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse_(code, type = "text") test-odin-build.R:46:2
   2.   └─odin::odin_options(options = options)
   3.     └─odin::can_compile(verbose = FALSE)
   4.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-odin-options.R:4:3): odin_options creates a classed list ────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_options() test-odin-options.R:4:2
   2.   └─odin::can_compile(verbose = FALSE)
   3.     └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-odin-options.R:20:3): manually set parsing functions persist ────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─testthat::expect_identical(...) test-odin-options.R:20:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─odin::odin_options(options = opts)
   5.   └─odin::can_compile(verbose = FALSE)
   6.     └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-odin-validate.R:7:3): valid model ─────────────────────────────
  res$success is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-odin-validate.R:8:3): valid model ─────────────────────────────
  res$error is not NULL
  
  `actual` is an S3 object of class <simpleError/error/condition>, a list
  `expected` is NULL
  ── Failure (test-odin-validate.R:9:3): valid model ─────────────────────────────
  res$result inherits from `'NULL'` not `'character'`.
  ── Failure (test-odin-validate.R:19:3): invalid model ──────────────────────────
  res$error inherits from `'simpleError'/'error'/'condition'` not `'character'`.
  ── Failure (test-odin-validate.R:28:3): unused variables can be detected ───────
  length(res$messages) not equal to 1L.
  1/1 mismatches
  [1] 0 - 1 == -1
  ── Error (test-odin-validate.R:29:3): unused variables can be detected ─────────
  Error in `res$messages[[1]]`: subscript out of bounds
  Backtrace:
      █
   1. └─testthat::expect_match(res$messages[[1]]$msg, "Unused equation: a") test-odin-validate.R:29:2
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Failure (test-odin-validate.R:45:3): type is passed along ───────────────────
  odin_validate("", "text")$error$message not equal to "Did not find a deriv() or an update() call".
  1/1 mismatches
  x[1]: "Could not find tools necessary to compile a package\nCall `pkgbuild::chec
  x[1]: k_build_tools(debug = TRUE)` to diagnose the problem."
  y[1]: "Did not find a deriv() or an update() call"
  ── Failure (test-odin-validate.R:48:3): type is passed along ───────────────────
  odin_validate(character(0), "text")$error$message not equal to "Did not find a deriv() or an update() call".
  1/1 mismatches
  x[1]: "Could not find tools necessary to compile a package\nCall `pkgbuild::chec
  x[1]: k_build_tools(debug = TRUE)` to diagnose the problem."
  y[1]: "Did not find a deriv() or an update() call"
  ── Failure (test-parse-inplace.R:4:3): can't use integer inplace for update() ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Can't use inplace integer expression in update"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse-inplace.R:4:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse-inplace.R:19:3): can't use multiline inplace ────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "in-place equations may only be used on a single-line array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse-inplace.R:19:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse-inplace.R:37:3): rmultinom is integer ─────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(...) test-parse-inplace.R:37:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse-inplace.R:55:3): rmhyper is integer ───────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(...) test-parse-inplace.R:55:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse-inplace.R:73:3): rmultinom argument validation ──────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Function 'rmultinom' requires array as argument 2"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse-inplace.R:73:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse-inplace.R:87:3): in place expressions must be simple ────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "At present, inplace function 'rmultinom' must use no functions"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse-inplace.R:87:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse-inplace.R:99:3): in place expressions must return an array ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected an array on the lhs of inplace function 'rmultinom'"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse-inplace.R:99:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:4:3): invalid options ─────────────────────────
  `odin_parse("config(a) <- 1;")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Unknown configuration option: a"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-config.R:4:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("config(a) <- 1;")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:10:3): config() takes a symbol ────────────────
  `odin_parse("config('base') <- 1;")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Argument to config must be a symbol"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-config.R:10:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("config('base') <- 1;")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:16:3): config(base) ───────────────────────────
  `odin_parse("config(base) <- 'foo'; config(base) <- 'foo'")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected a single config(base) option"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-config.R:16:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("config(base) <- 'foo'; config(base) <- 'foo'")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:19:3): config(base) ───────────────────────────
  `odin_parse("config(base) <- foo;")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected a character for config(base) but recieved a symbol"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-config.R:19:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("config(base) <- foo;")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:22:3): config(base) ───────────────────────────
  `odin_parse("config(base) <- 1;")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected a character for config(base) but recieved a double"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-config.R:22:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("config(base) <- 1;")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:28:3): config(base) ───────────────────────────
  `odin_parse("config(base) <- '1foo';")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must be a valid C identifier"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-config.R:28:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("config(base) <- '1foo';")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:31:3): config(base) ───────────────────────────
  `odin_parse("config(base) <- '*foo';")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must be a valid C identifier"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-config.R:31:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("config(base) <- '*foo';")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:34:3): config(base) ───────────────────────────
  `odin_parse("config(base) <- '-foo';")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must be a valid C identifier"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-config.R:34:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("config(base) <- '-foo';")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:37:3): config(base) ───────────────────────────
  `odin_parse("config(base) <- '.foo';")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must be a valid C identifier"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-config.R:37:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("config(base) <- '.foo';")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:44:3): config(include) ────────────────────────
  `odin_parse_(quote(config(include) <- 1), options)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected a character for config(include)"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-config.R:44:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(config(include) <- 1), options)
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:48:3): config(include) ────────────────────────
  `odin_parse_(quote(config(include) <- "no file.c"), options)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Could not find file 'no file.c'"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-config.R:48:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(config(include) <- "no file.c"), options)
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-config.R:52:3): config(include) ────────────────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Duplicated function 'squarepulse' while reading includes"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-config.R:52:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-config.R:61:3): Can include multiple files ───────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(...) test-parse2-config.R:61:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-config.R:79:3): extend config ────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(...) test-parse2-config.R:79:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-delay.R:4:3): missing variables in delay ───────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Missing variable in delay expression"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-delay.R:4:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-delay.R:10:3): missing variables in delay ──────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Missing variable in delay expression"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-delay.R:10:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-delay.R:16:3): missing variables in delay ──────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Missing variables in delay expression"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-delay.R:16:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-delay.R:25:3): delay call validation ───────────────────
  `odin_parse_(quote(a <- 1 + delay(1)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "delay() must be the only call on the rhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-delay.R:25:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(a <- 1 + delay(1)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-delay.R:28:3): delay call validation ───────────────────
  `odin_parse_(quote(a <- delay(1)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "delay() requires two or three arguments"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-delay.R:28:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(a <- delay(1)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-delay.R:31:3): delay call validation ───────────────────
  `odin_parse_(quote(a <- delay(1, 2, 3, 4)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "delay() requires two or three arguments"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-delay.R:31:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(a <- delay(1, 2, 3, 4)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-delay.R:34:3): delay call validation ───────────────────
  `odin_parse_(quote(a <- delay(delay(1, 2), 2)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "delay() may not be nested"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-delay.R:34:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(a <- delay(delay(1, 2), 2)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-delay.R:37:3): delay call validation ───────────────────
  `odin_parse_(quote(a <- delay(2, delay(1, 2))))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "delay() may not be nested"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-delay.R:37:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(a <- delay(2, delay(1, 2))))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-delay.R:41:3): delay call validation ───────────────────
  `odin_parse_(quote(a <- delay(y + t, 2)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "delay() may not refer to time"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-delay.R:41:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(a <- delay(y + t, 2)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-delay.R:61:3): more parse errors ───────────────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Missing variable in delay expression: b (for delay ylag)"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-delay.R:61:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-delay.R:72:3): prevent multiline delay ─────────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "delay() may only be used on a single-line array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-delay.R:72:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:7:3): every line contains an assignment ──────
  `odin_parse_("hello\nfoo")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Every line must contain an assignment"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:7:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_("hello\nfoo")
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:10:3): every line contains an assignment ─────
  `odin_parse_(quote(foo ~ bar))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Every line must contain an assignment"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:10:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(foo ~ bar))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:19:3): expression parsing ────────────────────
  `odin_parse_(quote(1[1:4] <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "array lhs must be a name"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:19:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(1[1:4] <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:22:3): expression parsing ────────────────────
  `odin_parse_(quote(x[f(1)] <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid function in array calculation"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:22:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x[f(1)] <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:25:3): expression parsing ────────────────────
  `odin_parse_(quote(x[c(1, 2)] <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid function in array calculation"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:25:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x[c(1, 2)] <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:29:3): expression parsing ────────────────────
  `odin_parse_(quote(x <- 1 + user(2)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "user() must be the only call on the rhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:29:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- 1 + user(2)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:33:3): expression parsing ────────────────────
  `odin_parse_(quote(y <- deriv(x)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Function deriv is disallowed on rhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:33:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(y <- deriv(x)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:36:3): expression parsing ────────────────────
  `odin_parse_(quote(initial(x) <- user()))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "user() only valid for non-special variables"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:36:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(initial(x) <- user()))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:39:3): expression parsing ────────────────────
  `odin_parse_(quote(deriv(x) <- user()))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "user() only valid for non-special variables"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:39:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(deriv(x) <- user()))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:42:3): expression parsing ────────────────────
  `odin_parse_(quote(x[i] <- y[i]))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Special index variable i may not be used on array lhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:42:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x[i] <- y[i]))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:49:3): parse array indices ───────────────────
  `odin_parse("initial(y) <- 1; deriv(y) <- 1; x[1:t] <- 1\ndim(x) <- 10")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Array indices may not be time"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:49:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("initial(y) <- 1; deriv(y) <- 1; x[1:t] <- 1\ndim(x) <- 10")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:59:3): parse array indices ───────────────────
  `odin_parse_(ex("x[1] <- 1\ny[x] <- 1\ndim(x) <- 1\ndim(y) <- 1"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Array indices may not be arrays"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:59:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("x[1] <- 1\ny[x] <- 1\ndim(x) <- 1\ndim(y) <- 1"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:67:3): reserved names ────────────────────────
  `odin_parse_(quote(i <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Reserved name"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:67:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(i <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:69:3): reserved names ────────────────────────
  `odin_parse_(quote(deriv <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Reserved name"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:69:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(deriv <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:71:3): reserved names ────────────────────────
  `odin_parse_(quote(t <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Reserved name"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:71:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(t <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:73:3): reserved names ────────────────────────
  `odin_parse_(quote(dim <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Reserved name"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:73:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(dim <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:75:3): reserved names ────────────────────────
  `odin_parse_(quote(user <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Reserved name"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:75:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(user <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:78:3): reserved names ────────────────────────
  `odin_parse_(quote(deriv_x <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Variable name cannot start with 'deriv_'"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:78:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(deriv_x <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:81:3): reserved names ────────────────────────
  `odin_parse_(quote(dim_x <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Variable name cannot start with 'dim_'"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:81:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(dim_x <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:84:3): reserved names ────────────────────────
  `odin_parse_(quote(initial_x <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Variable name cannot start with 'initial_'"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:84:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(initial_x <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:91:3): compatible rhs ────────────────────────
  `odin_parse("deriv(y) = 1; initial(x) = 2")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must contain same set of equations"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:91:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("deriv(y) = 1; initial(x) = 2")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:94:3): compatible rhs ────────────────────────
  `odin_parse("update(y) = 1; initial(x) = 2")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must contain same set of equations"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:94:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("update(y) = 1; initial(x) = 2")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:98:3): compatible rhs ────────────────────────
  `odin_parse("deriv(y) = 1; update(z) = 1; initial(y) = 1; initial(z) = 1;")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Cannot mix deriv() and update()"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:98:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("deriv(y) = 1; update(z) = 1; initial(y) = 1; initial(z) = 1;")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:105:3): unknown variables ────────────────────
  `odin_parse_(ex("x <- y + z"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Unknown variables y, z"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:105:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("x <- y + z"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:113:3): variables cannot be assigned to ──────
  `odin_parse("deriv(y) = 1\ninitial(y) = 1\ny <- 1")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "variables on lhs must be within deriv"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:113:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("deriv(y) = 1\ninitial(y) = 1\ny <- 1")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:120:3): duplicate non-array entries ──────────
  `odin_parse_(ex("x = 1\nx = 2"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Duplicate entries must all be array assignments"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:120:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("x = 1\nx = 2"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:124:3): duplicate non-array entries ──────────
  `odin_parse_(ex("x[1] = 1\nx = 2"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Duplicate entries must all be array assignments"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:124:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("x[1] = 1\nx = 2"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:132:3): missing dim ──────────────────────────
  `odin_parse("deriv(x[1]) = 1\ninitial(x) = 2")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Missing dim() call"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:132:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("deriv(x[1]) = 1\ninitial(x) = 2")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:139:3): array dimensionality must be consistent ──
  `odin_parse_(ex("x[1] <- 1\nx[2,1] <- 2\ndim(x) <- 10"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Array dimensionality is not consistent"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:139:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("x[1] <- 1\nx[2,1] <- 2\ndim(x) <- 10"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:142:3): array dimensionality must be consistent ──
  `odin_parse_(ex("x[1] <- 1\ny <- x[2,1]\ndim(x) <- 10"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Incorrect dimensionality for 'x'"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:142:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("x[1] <- 1\ny <- x[2,1]\ndim(x) <- 10"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:149:3): dim lhs must be simple ───────────────
  `odin_parse_(quote(dim(x[1]) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must be applied to a name only"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:149:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(dim(x[1]) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:152:3): dim lhs must be simple ───────────────
  `odin_parse_(quote(dim(x[1, 2]) <- c(1, 2)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must be applied to a name only"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:152:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(dim(x[1, 2]) <- c(1, 2)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:159:3): user usage ───────────────────────────
  `odin_parse("x <- user(a, b)")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Only first argument to user() may be unnamed"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:159:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("x <- user(a, b)")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:162:3): user usage ───────────────────────────
  `odin_parse("x <- user(a, c = 1)")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Unknown argument to user(): 'c'"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:162:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("x <- user(a, c = 1)")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:165:3): user usage ───────────────────────────
  `odin_parse_(quote(x <- user(user(2))))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "user() call must not use functions"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:165:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- user(user(2))))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:168:3): user usage ───────────────────────────
  `odin_parse_(quote(x <- user(a)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "user() call must not reference variables"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:168:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- user(a)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-general.R:175:3): user calls may use some functions ──────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse("deriv(x) <- 1\ninitial(x) <- r\nr <- user(-2)") test-parse2-general.R:175:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:182:3): array usage ──────────────────────────
  `odin_parse_(ex("y <- x\nx[1] <- 1\ndim(x) <- 10"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Array 'x' used without array index"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:182:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("y <- x\nx[1] <- 1\ndim(x) <- 10"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:188:3): dim rhs must be simple ───────────────
  `odin_parse_(ex("y[] <- 0\ndim(y) <- f(p)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid dim() rhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:188:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("y[] <- 0\ndim(y) <- f(p)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:194:3): user call ────────────────────────────
  `odin_parse_(quote(a <- user() + 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "user() must be the only call on the rhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:194:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(a <- user() + 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:201:3): interpolate call ─────────────────────
  `odin_parse_(quote(a <- interpolate() + 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "interpolate() must be the only call on the rhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:201:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(a <- interpolate() + 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:208:3): deriv can't be used as rhs symbol ────
  `odin_parse_(ex("a <- deriv"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Function 'deriv' is disallowed as symbol on rhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:208:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("a <- deriv"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:215:3): unclassifiable statement ─────────────
  `odin_parse_(quote(x <- 1(2)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Cannot process statement"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:215:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- 1(2)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:314:3): sum rewriting ────────────────────────
  `odin_parse("x <- sum(a, b)")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected 1 argument in sum call"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:314:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("x <- sum(a, b)")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:358:3): conditinals need else clause ─────────
  `odin_parse("y <- if (foo) 1")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "All if statements must have an else clause"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:358:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("y <- if (foo) 1")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:361:3): conditinals need else clause ─────────
  `odin_parse("y <- 1 + (if (foo) 1) + bar")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "All if statements must have an else clause"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:361:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("y <- 1 + (if (foo) 1) + bar")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:367:3): recursive variables ──────────────────
  `odin_parse_(quote(foo <- foo + 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Self referencing expressions not allowed"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:367:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(foo <- foo + 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-general.R:373:3): array extent and time ──────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_options(rewrite_dims = FALSE, rewrite_constants = FALSE) test-parse2-general.R:373:2
   2.   └─odin::can_compile(verbose = FALSE)
   3.     └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:409:3): lhs checking ─────────────────────────
  `odin_parse_(quote(1 <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid left hand side"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:409:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(1 <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:412:3): lhs checking ─────────────────────────
  `odin_parse_(quote(1 + 1 <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Unhandled expression + on lhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:412:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(1 + 1 <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:415:3): lhs checking ─────────────────────────
  `odin_parse_(quote(devs(a) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Unhandled expression devs on lhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:415:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(devs(a) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:419:3): lhs checking ─────────────────────────
  `odin_parse_(quote(deriv(a, b) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid length special function on lhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:419:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(deriv(a, b) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:421:3): lhs checking ─────────────────────────
  `odin_parse_(quote(initial(a, b) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid length special function on lhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:421:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(initial(a, b) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:423:3): lhs checking ─────────────────────────
  `odin_parse_(quote(dim(a, b) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid length special function on lhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:423:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(dim(a, b) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:426:3): lhs checking ─────────────────────────
  `odin_parse_(quote(deriv() <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid length special function on lhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:426:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(deriv() <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:428:3): lhs checking ─────────────────────────
  `odin_parse_(quote(initial() <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid length special function on lhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:428:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(initial() <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:430:3): lhs checking ─────────────────────────
  `odin_parse_(quote(dim() <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid length special function on lhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:430:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(dim() <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:433:3): lhs checking ─────────────────────────
  `odin_parse_(quote(deriv(deriv(a)) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid nested lhs function usage"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:433:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(deriv(deriv(a)) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:435:3): lhs checking ─────────────────────────
  `odin_parse_(quote(deriv(initial(a)) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid nested lhs function usage"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:435:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(deriv(initial(a)) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:437:3): lhs checking ─────────────────────────
  `odin_parse_(quote(deriv(dim(a)) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid nested lhs function usage"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:437:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(deriv(dim(a)) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:439:3): lhs checking ─────────────────────────
  `odin_parse_(quote(initial(deriv(a)) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid nested lhs function usage"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:439:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(initial(deriv(a)) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:441:3): lhs checking ─────────────────────────
  `odin_parse_(quote(initial(initial(a)) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid nested lhs function usage"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:441:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(initial(initial(a)) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:443:3): lhs checking ─────────────────────────
  `odin_parse_(quote(initial(dim(a)) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid nested lhs function usage"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:443:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(initial(dim(a)) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:445:3): lhs checking ─────────────────────────
  `odin_parse_(quote(dim(deriv(a)) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid nested lhs function usage"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:445:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(dim(deriv(a)) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:447:3): lhs checking ─────────────────────────
  `odin_parse_(quote(dim(initial(a)) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid nested lhs function usage"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:447:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(dim(initial(a)) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:449:3): lhs checking ─────────────────────────
  `odin_parse_(quote(dim(dim(a)) <- 1))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid nested lhs function usage"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:449:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(dim(dim(a)) <- 1))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:455:3): interpolation ────────────────────────
  `odin_parse_(quote(x <- interpolate(a, b, c)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected a string constant for interpolation type"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:455:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- interpolate(a, b, c)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:458:3): interpolation ────────────────────────
  `odin_parse_(quote(x <- interpolate(a, b, 1L)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected a string constant for interpolation type"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:458:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- interpolate(a, b, 1L)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:461:3): interpolation ────────────────────────
  `odin_parse_(quote(x <- interpolate(a, b, "lin")))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid interpolation type"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:461:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- interpolate(a, b, "lin")))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:465:3): interpolation ────────────────────────
  `odin_parse_(quote(x <- interpolate(a)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "interpolate() requires two or three arguments"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:465:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- interpolate(a)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:468:3): interpolation ────────────────────────
  `odin_parse_(quote(x <- interpolate(a, b, c, d)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "interpolate() requires two or three arguments"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:468:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- interpolate(a, b, c, d)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:472:3): interpolation ────────────────────────
  `odin_parse_(quote(x <- interpolate(2, x)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "interpolation time argument must be a symbol"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:472:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- interpolate(2, x)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:475:3): interpolation ────────────────────────
  `odin_parse_(quote(x <- interpolate(x, 2)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "interpolation target argument must be a symbol"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:475:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- interpolate(x, 2)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:481:3): sums ─────────────────────────────────
  `odin_parse_(quote(x <- sum(1 + 2)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Argument to sum must be a symbol or indexed array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:481:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- sum(1 + 2)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:484:3): sums ─────────────────────────────────
  `odin_parse_(quote(x <- sum(1)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Argument to sum must be a symbol or indexed array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:484:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- sum(1)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:487:3): sums ─────────────────────────────────
  `odin_parse_(quote(x <- sum(a, b)))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected 1 argument in sum call, but recieved 2"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:487:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- sum(a, b)))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:490:3): sums ─────────────────────────────────
  `odin_parse_(quote(x <- sum()))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected 1 argument in sum call, but recieved 0"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:490:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- sum()))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:494:3): sums ─────────────────────────────────
  `odin_parse_(quote(x <- sum(a[f(b)])))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid array use in sum"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:494:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- sum(a[f(b)])))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:497:3): sums ─────────────────────────────────
  `odin_parse_(quote(x <- sum(a[f(b), c])))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid array use in sum"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:497:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- sum(a[f(b), c])))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:500:3): sums ─────────────────────────────────
  `odin_parse_(quote(x <- sum(a[f(b), f(c)])))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid array use in sum"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:500:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(quote(x <- sum(a[f(b), f(c)])))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:507:3): some dim() pathologies ───────────────
  `odin_parse_(ex("a[] <- user(); dim(a) <- user(1)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Default in user dimension size not handled"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:507:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("a[] <- user(); dim(a) <- user(1)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:510:3): some dim() pathologies ───────────────
  `odin_parse_(ex("a[] <- user(); dim(a) <- user(min = 2)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "min and max are not supported for user dimensions"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:510:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("a[] <- user(); dim(a) <- user(min = 2)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:513:3): some dim() pathologies ───────────────
  `odin_parse_(ex("a[] <- user(); dim(a) <- user(max = 2)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "min and max are not supported for user dimensions"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:513:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("a[] <- user(); dim(a) <- user(max = 2)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:516:3): some dim() pathologies ───────────────
  `odin_parse_(ex("dim(a) <- 'foo'"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "expected numeric, symbol, user or c"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:516:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(a) <- 'foo'"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:519:3): some dim() pathologies ───────────────
  `odin_parse_(ex("dim(a) <- NULL"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "expected numeric, symbol, user or c"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:519:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(a) <- NULL"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:522:3): some dim() pathologies ───────────────
  `odin_parse_(ex("dim(a) <- c(1, 'foo')"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must contain symbols, numbers or lengths"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:522:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(a) <- c(1, 'foo')"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:525:3): some dim() pathologies ───────────────
  `odin_parse_(ex("dim(a) <- c(1, c(2, 3))"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must contain symbols, numbers or lengths"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:525:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(a) <- c(1, c(2, 3))"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:528:3): some dim() pathologies ───────────────
  `odin_parse_(ex("dim(a) <- c(1, NULL)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must contain symbols, numbers or lengths"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:528:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(a) <- c(1, NULL)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:531:3): some dim() pathologies ───────────────
  `odin_parse_(ex("dim(a) <- c(1 + 1, 1)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "must contain symbols, numbers or lengths"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:531:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(a) <- c(1 + 1, 1)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:538:3): array pathologies ────────────────────
  `odin_parse_(ex("dim(y) <- 2; y <- 1"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Array variables must always assign as arrays"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:538:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(y) <- 2; y <- 1"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:542:3): array pathologies ────────────────────
  `odin_parse_(ex("dim(y) <- user(); y <- 1"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Array variables must always assign as arrays"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:542:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(y) <- user(); y <- 1"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:546:3): array pathologies ────────────────────
  `odin_parse_(ex("dim(y) <- 2; y[1] <- user(); y[2] <- 1"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "user() may only be used on a single-line array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:546:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(y) <- 2; y[1] <- user(); y[2] <- 1"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:553:3): correct dim() use ────────────────────
  `odin_parse("dim(x) <- 10; a <- length(x, 1)")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected 1 argument in length"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:553:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("dim(x) <- 10; a <- length(x, 1)")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:556:3): correct dim() use ────────────────────
  `odin_parse("dim(x) <- 10; a <- length()")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected 1 argument in length"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:556:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("dim(x) <- 10; a <- length()")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:560:3): correct dim() use ────────────────────
  `odin_parse_(ex("a <- length(1)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "argument to length must be a symbol"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:560:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("a <- length(1)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:563:3): correct dim() use ────────────────────
  `odin_parse_(ex("x <- 2; a <- length(x)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "argument to length must be an array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:563:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("x <- 2; a <- length(x)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:566:3): correct dim() use ────────────────────
  `odin_parse_(ex("dim(x) <- c(2, 10); x[, ] <- 1; a <- length(x)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "argument to length must be a 1-D array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:566:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(x) <- c(2, 10); x[, ] <- 1; a <- length(x)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:571:3): correct dim() use ────────────────────
  `odin_parse("dim(x) <- 10; a <- dim(x)")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected 2 arguments in dim call"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:571:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("dim(x) <- 10; a <- dim(x)")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:574:3): correct dim() use ────────────────────
  `odin_parse("dim(x) <- 10; a <- dim(x, 1, 2)")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected 2 arguments in dim call"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:574:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("dim(x) <- 10; a <- dim(x, 1, 2)")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:578:3): correct dim() use ────────────────────
  `odin_parse_(ex("a <- dim(1, x)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "first argument to dim must be a symbol"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:578:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("a <- dim(1, x)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:582:3): correct dim() use ────────────────────
  `odin_parse_(ex("x <- 2; a <- dim(x, 1)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "first argument to dim must be an array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:582:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("x <- 2; a <- dim(x, 1)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:586:3): correct dim() use ────────────────────
  `odin_parse_(ex("dim(x) <- 1; x[] <- 1; a <- dim(x, 1)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "dim() must not be used for 1D arrays"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:586:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(x) <- 1; x[] <- 1; a <- dim(x, 1)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:590:3): correct dim() use ────────────────────
  `odin_parse_(ex("dim(x) <- c(1, 2); x[, ] <- 1; a <- dim(x, 1.4)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "second argument to dim() must be an integer"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:590:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(x) <- c(1, 2); x[, ] <- 1; a <- dim(x, 1.4)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:594:3): correct dim() use ────────────────────
  `odin_parse_(ex("dim(x) <- c(1, 2); x[, ] <- 1; a <- dim(x, b)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "second argument to dim() must be an integer"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:594:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(x) <- c(1, 2); x[, ] <- 1; a <- dim(x, b)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:599:3): correct dim() use ────────────────────
  `odin_parse_(ex("dim(x) <- c(1, 2); x[, ] <- 1; a <- dim(x, 3)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "array index out of bounds"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:599:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(x) <- c(1, 2); x[, ] <- 1; a <- dim(x, 3)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:604:3): correct dim() use ────────────────────
  `odin_parse_(ex("dim(x) <- 10; b <- length(x)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Array variable x is never assigned"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:604:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(x) <- 10; b <- length(x)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:609:3): check array rhs ──────────────────────
  `odin_parse_(ex("dim(x) <- 10; x[] <- 1; b <- x[]"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Empty array index not allowed on rhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:609:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(x) <- 10; x[] <- 1; b <- x[]"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:613:3): check array rhs ──────────────────────
  `odin_parse_(ex("dim(x) <- 10; x[] <- 1; a <- x[x]"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Disallowed variables used for x"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:613:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(x) <- 10; x[] <- 1; a <- x[x]"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:617:3): check array rhs ──────────────────────
  `odin_parse_(ex("dim(x) <- 10; x[] <- 1; y <- 1; a <- x[1] + y[1];"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Unknown array variable y in"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:617:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(x) <- 10; x[] <- 1; y <- 1; a <- x[1] + y[1];"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-general.R:624:3): cyclic dependency ──────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_options(rewrite_constants = FALSE) test-parse2-general.R:624:2
   2.   └─odin::can_compile(verbose = FALSE)
   3.     └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:638:3): range operator on RHS ────────────────
  `odin_parse("y <- x[1:2]")` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Range operator ':' may not be used on rhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:638:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse("y <- x[1:2]")
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:644:3): rewrite errors ───────────────────────
  `odin_parse_(ex("a <- 1; x <- foo(a)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Unsupported function: foo"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:644:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("a <- 1; x <- foo(a)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:647:3): rewrite errors ───────────────────────
  `odin_parse_(ex("a <- 1; x <- foo(a); y <- bar(a)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Unsupported functions: foo, bar"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:647:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("a <- 1; x <- foo(a); y <- bar(a)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:650:3): rewrite errors ───────────────────────
  `odin_parse_(ex("a <- 1; x <- abs(a, 1)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected 1 argument in abs call"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:650:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("a <- 1; x <- abs(a, 1)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:653:3): rewrite errors ───────────────────────
  `odin_parse_(ex("a <- 1; x <- min(a)"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected 2 or more arguments in min call"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:653:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("a <- 1; x <- min(a)"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:659:3): Incomplete user array ────────────────
  `odin_parse_(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "No array assignment found for x0"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:659:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(...)
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:667:3): Incomplete user array ────────────────
  `odin_parse_(ex("dim(x) <- user()"))` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "No array assignment found for x"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test-parse2-general.R:667:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─odin::odin_parse_(ex("dim(x) <- user()"))
   7.   └─odin::odin_options(options = options)
   8.     └─odin::can_compile(verbose = FALSE)
   9.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:674:3): output name collision ────────────────
  `... <- NULL` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "same as variable name"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:674:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:685:3): invalid self output ──────────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "direct output may only be used on a single-line array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:685:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:701:3): user sized variables not allowed ─────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Can't specify user-sized variables"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:701:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:712:3): taking size of non-array variable is an error ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "argument to length must be an array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:712:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:719:3): taking size of non-array variable is an error ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "argument to dim must be an array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:719:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:735:3): dependent dim never assigned ─────────
  `... <- NULL` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Array variable r is never assigned; can't work out rank"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:735:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-general.R:750:3): detect integers ────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(...) test-parse2-general.R:750:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:770:3): no variables ─────────────────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Did not find a deriv() or an update() call"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:770:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:779:3): dim on rhs ───────────────────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid dim call; expected integer second argument"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:779:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:793:3): sensible error message with invalid input ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Cannot define R functions in odin model"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:793:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:805:3): can't use array indices that exceed the rank of the lhs ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Index variable 'j' not possible for array of rank 1"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:805:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:819:3): can't use array indices that exceed the rank of the lhs ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Index variable 'j', 'k' not possible for array of rank 1"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:819:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-general.R:836:3): can't use C identifier ───────────────
  `odin_parse(...)` threw an error with unexpected message.
  Expected match: "Reserved name 'int' for lhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-general.R:836:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-interpolation.R:4:3): interpolation parse errors: incorrect array dimension ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected zp to be a 2 dimensional array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-interpolation.R:4:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-interpolation.R:19:3): interpolation parse errors: incorrect array dimension ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected zp to be a 2 dimensional array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-interpolation.R:19:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-interpolation.R:34:3): interpolation parse errors: incorrect array dimension ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected tp to be a vector"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-interpolation.R:34:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-interpolation.R:52:3): unknown interpolation variable ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Unknown variable zp"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-interpolation.R:52:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-interpolation.R:68:3): interpolation array assignment error ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "interpolate() may only be used on a single-line array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-interpolation.R:68:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:4:3): log ────────────────────────────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected 1-2 arguments in log call"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:4:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:10:3): log ───────────────────────────────────
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Expected 1-2 arguments in log call"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:10:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-rewrite.R:19:3): rewrite arrays drops references to dim_ variables ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(...) test-parse2-rewrite.R:19:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-rewrite.R:37:3): Can create compile-time constants ───────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(...) test-parse2-rewrite.R:37:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:69:3): Can validate substitutions ────────────
  `odin_parse(code, options = odin_options(substitutions = list(y = 1)))` threw an error with unexpected message.
  Expected match: "Substitution failed: 'y' is not an equation"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:69:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse(code, options = odin_options(substitutions = list(y = 1)))
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:72:3): Can validate substitutions ────────────
  `odin_parse(code, options = odin_options(substitutions = list(a = 1)))` threw an error with unexpected message.
  Expected match: "Substitution failed: 'a' is not a user() equation"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:72:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse(code, options = odin_options(substitutions = list(a = 1)))
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:75:3): Can validate substitutions ────────────
  `odin_parse(code, options = odin_options(substitutions = list(S0 = 1)))` threw an error with unexpected message.
  Expected match: "Substitution failed: 'S0' is an array"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:75:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse(code, options = odin_options(substitutions = list(S0 = 1)))
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:78:3): Can validate substitutions ────────────
  `odin_parse(code, options = odin_options(substitutions = list(n = 1)))` threw an error with unexpected message.
  Expected match: "Expected 'n' to be at least 2"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:78:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse(code, options = odin_options(substitutions = list(n = 1)))
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:81:3): Can validate substitutions ────────────
  `odin_parse(code, options = odin_options(substitutions = list(n = 2.4)))` threw an error with unexpected message.
  Expected match: "Expected 'n' to be integer-like"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:81:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse(code, options = odin_options(substitutions = list(n = 2.4)))
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:84:3): Can validate substitutions ────────────
  `odin_parse(code, options = odin_options(substitutions = list(m = 20)))` threw an error with unexpected message.
  Expected match: "Expected 'm' to be at most 10"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:84:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse(code, options = odin_options(substitutions = list(m = 20)))
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:87:3): Can validate substitutions ────────────
  `odin_parse(code, options = odin_options(substitutions = list(m = NA_real_)))` threw an error with unexpected message.
  Expected match: "'m' must not contain any NA values"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:87:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse(code, options = odin_options(substitutions = list(m = NA_real_)))
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:91:3): Can validate substitutions ────────────
  `odin_parse(...)` threw an error with unexpected message.
  Expected match: "Invalid entry in substitutions: 'm', 'n'"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:91:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:96:3): Can validate substitutions ────────────
  `odin_parse(...)` threw an error with unexpected message.
  Expected match: "'substitutions' must be named"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:96:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:99:3): Can validate substitutions ────────────
  `odin_parse(...)` threw an error with unexpected message.
  Expected match: "'substitutions' must have unique names"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:99:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-rewrite.R:103:3): Can validate substitutions ───────────
  `odin_parse(code, options = odin_options(substitutions = c(n = 1)))` threw an error with unexpected message.
  Expected match: "'substitutions' must be a list"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-rewrite.R:103:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─odin::odin_parse(code, options = odin_options(substitutions = c(n = 1)))
    7.   └─odin::odin_parse_(xx, options)
    8.     └─odin::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-rewrite.R:110:3): Rewrite all constants ──────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(...) test-parse2-rewrite.R:110:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-rewrite.R:125:3): leave time-varying expressions alone ───
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(...) test-parse2-rewrite.R:125:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-rewrite.R:142:3): collapse complex constants into expressions ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin_parse(...) test-parse2-rewrite.R:142:2
   2.   └─odin::odin_parse_(xx, options)
   3.     └─odin::odin_options(options = options)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-stochastic.R:5:3): disallow stochastic functions in ODEs ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Stochastic functions not allowed in ODE models"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-stochastic.R:5:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Failure (test-parse2-stochastic.R:15:3): disallow stochastic functions on array rhs ──
  `odin_parse(...)` threw an error with unexpected class and message.
  Expected class: odin_error
  Actual class:   simpleError/error/condition
  Message:        Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Expected match: "Invalid array use on lhs"
  Actual message: "Could not find tools necessary to compile a package\nCall `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-parse2-stochastic.R:15:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-unused.R:4:3): no unused variables ───────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
       █
    1. ├─testthat::expect_silent(...) test-parse2-unused.R:4:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.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::odin_options(options = options)
   12.       └─odin::can_compile(verbose = FALSE)
   13.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-unused.R:11:3): one unused variable ──────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
       █
    1. ├─testthat::expect_message(...) test-parse2-unused.R:11:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-unused.R:27:3): more than one unused variable ────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
       █
    1. ├─testthat::expect_message(...) test-parse2-unused.R:27:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-unused.R:37:3): dependent unused variables ───────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
       █
    1. ├─testthat::expect_message(...) test-parse2-unused.R:37:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-unused.R:47:3): dependent non-unused variables ───────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
       █
    1. ├─testthat::expect_silent(...) test-parse2-unused.R:47:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.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::odin_options(options = options)
   12.       └─odin::can_compile(verbose = FALSE)
   13.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-unused.R:56:3): delayed non-unused variables ─────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
       █
    1. ├─testthat::expect_silent(...) test-parse2-unused.R:56:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.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::odin_options(options = options)
   12.       └─odin::can_compile(verbose = FALSE)
   13.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-unused.R:65:3): dimension names get cleaned ──────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
       █
    1. ├─testthat::expect_message(...) test-parse2-unused.R:65:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat:::.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::odin_options(options = options)
    9.       └─odin::can_compile(verbose = FALSE)
   10.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-unused.R:83:3): don't be too noisy ───────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
       █
    1. ├─testthat::expect_silent(...) test-parse2-unused.R:83:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.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::odin_options(options = options)
   12.       └─odin::can_compile(verbose = FALSE)
   13.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-parse2-unused.R:95:3): Can suppress unused variables with a comment ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
       █
    1. ├─testthat::expect_silent(f("a <- user(1) # ignore.unused")) test-parse2-unused.R:95:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat:::.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:::f("a <- user(1) # ignore.unused")
   10.   └─odin::odin_parse_(c("initial(x) <- 0", "deriv(x) <- 0", code)) test-parse2-unused.R:93:4
   11.     └─odin::odin_options(options = options)
   12.       └─odin::can_compile(verbose = FALSE)
   13.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-ring-cache.R:42:3): reused cached model ─────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. └─odin::odin(code) test-ring-cache.R:42:2
   2.   └─odin::odin_(...)
   3.     └─odin::odin_options(...)
   4.       └─odin::can_compile(verbose = FALSE)
   5.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:4:3): trivial model (r) ─────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:4:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:34:3): Time dependent rhs (r) ───────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:34:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:54:3): Time dependent initial conditions (r) ────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:54:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:79:3): use state in derivative calculation (r) ──────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:79:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:97:3): multiple variables (r) ───────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:97:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:116:3): user variables (r) ──────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:116:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_parse_(x, options)
   7.       └─odin::odin_options(options = options)
   8.         └─odin::can_compile(verbose = FALSE)
   9.           └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:149:3): simple operations in user variables are allowed (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:149:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:164:3): output (r) ──────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:164:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:193:3): output (r) ──────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:193:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:207:3): copy output (r) ─────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:207:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:225:3): copy output, explicitly (r) ─────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:225:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:244:3): discrete (r) ────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:244:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:260:3): discrete with output (r) ────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:260:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:277:3): array support (r) ───────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:277:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:312:3): multi-line array expression (r) ─────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:312:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:326:3): 3d array (r) ────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:326:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:354:3): user array (r) ──────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:354:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:370:3): user matrix (r) ─────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:370:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:401:3): user array - indirect (r) ───────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:401:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:425:3): user array - direct (r) ─────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:425:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:447:3): user array - direct 3d (r) ──────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:447:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:469:3): interpolation (r) ───────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:469:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:507:3): stochastic (r) ──────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:507:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:525:3): multiple arrays: constant (r) ───────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:525:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:544:3): multiple arrays: dynamic (r) ────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:544:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:563:3): multiple output arrays (r) ──────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:563:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:593:3): 3d array time dependent and variable (r) ────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:593:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:626:3): rich user arrays (r) ────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:626:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:645:3): rich user sized arrays (r) ──────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:645:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:663:3): discrete delays: matrix (r) ─────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:663:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:686:3): multinomial (r) ─────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:686:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:712:3): local scope of loop variables (r) ───────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:712:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:739:3): Can set or omit names (r) ───────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:739:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:751:3): Can set initial conditions directly in an ode (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:751:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:763:3): Can substitute user variables (r) ───────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:763:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-basic.R:787:3): Can rewrite common dimensions (r) ───────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-basic.R:787:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:11:3): mixed delay model (r) ─────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:11:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:73:3): use subset of variables (r) ───────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:73:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:93:3): delay array storage (r) ───────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:93:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:145:3): 3 arg delay (r) ──────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:145:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:168:3): 3 arg delay with array (r) ───────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:168:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:198:3): delay index packing (r) ──────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:198:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:260:3): nontrivial time (r) ──────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:260:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:275:3): overlapping array storage (r) ────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:275:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:335:3): delayed delays (r) ───────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:335:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:359:3): compute derivative (r) ───────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:359:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:433:3): delay with array and provide input (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:433:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:477:3): set initial conditions in delay differential equation (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:477:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-continuous.R:493:3): can set/omit ynames (r) ──────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-continuous.R:493:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-discrete.R:4:3): delays (r) ───────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-discrete.R:4:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-discrete.R:20:3): delays: scalar variable (r) ─────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-discrete.R:20:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-discrete.R:44:3): delays: scalar expression (r) ───────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-discrete.R:44:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-discrete.R:69:3): delays: vector variable (r) ─────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-discrete.R:69:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-discrete.R:96:3): delays: vector expression (r) ───────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-discrete.R:96:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-discrete.R:122:3): delay vars that depend on time (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-discrete.R:122:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-discrete.R:141:3): disable update function (r) ────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-delay-discrete.R:141:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-discrete.R:156:3): default (scalar) (r) ───────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin:::skip_for_target("c") test-run-delay-discrete.R:156:2
   5.   └─odin:::odin_target_name(using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:73:2
   6.     └─odin::odin_options(target = using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:68:2
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-delay-discrete.R:182:3): default (vector) (r) ───────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin:::skip_for_target("c") test-run-delay-discrete.R:182:2
   5.   └─odin:::odin_target_name(using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:73:2
   6.     └─odin::odin_options(target = using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:68:2
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-discrete.R:4:3): basic (r) ──────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-discrete.R:4:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-discrete.R:22:3): output (r) ────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-discrete.R:22:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-discrete.R:47:3): interpolate (r) ───────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-discrete.R:47:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-discrete.R:76:3): use step in model (r) ─────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-discrete.R:76:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-discrete.R:88:3): 2d array equations (r) ────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-discrete.R:88:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-discrete.R:113:3): complex initialisation: scalar (r) ───────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-discrete.R:113:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-discrete.R:155:3): complex initialisation: vector (r) ───────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-discrete.R:155:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-discrete.R:183:3): can set initial conditions (r) ───────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-discrete.R:183:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-discrete.R:195:3): can set/omit ynames (r) ──────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-discrete.R:195:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-examples.R:96:3): user arrays (r) ───────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  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") test-run-examples.R:96:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-examples.R:179:3): lv (r) ───────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  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") test-run-examples.R:179:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:7:3): constant model (r) ──────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:7:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:22:3): user variables (r) ─────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:22:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:60:3): user variables on models with none (r) ─────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:60:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:74:3): non-numeric time (r) ───────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:74:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:86:3): delays and initial conditions (r) ──────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:86:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:119:3): non-numeric user (r) ──────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:119:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:132:3): conditionals (r) ──────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:132:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:146:3): conditionals, precendence (r) ─────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:146:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:161:3): time dependent (r) ────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:161:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:190:3): time dependent initial conditions (r) ─────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:190:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:205:3): user c (r) ────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin:::skip_for_target("r") test-run-general.R:205:2
   5.   └─odin:::odin_target_name(using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:73:2
   6.     └─odin::odin_options(target = using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:68:2
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:227:3): user r (r) ────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin:::skip_for_target("c") test-run-general.R:227:2
   5.   └─odin:::odin_target_name(using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:73:2
   6.     └─odin::odin_options(target = using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:68:2
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:248:3): user c in subdir (r) ──────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin:::skip_for_target("r") test-run-general.R:248:2
   5.   └─odin:::odin_target_name(using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:73:2
   6.     └─odin::odin_options(target = using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:68:2
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:279:3): time dependent initial conditions (r) ─────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:279:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:302:3): time dependent initial conditions depending on vars (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:302:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:322:3): unused variable in output (r) ─────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:322:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:353:3): 3d array (r) ──────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:353:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:382:3): 4d array (r) ──────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:382:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:397:3): mixed (r) ─────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:397:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:446:3): output array (r) ──────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:446:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:473:3): output array (r) ──────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:473:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:498:3): use length on rhs (r) ─────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:498:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:511:3): use dim on rhs (r) ────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:511:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:528:3): transform variables with output (r) ───────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:528:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:556:3): transform variables without time (r) ──────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:556:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:594:3): pathalogical array index (r) ──────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:594:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:625:3): two output arrays (r) ─────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:625:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:668:3): non-numeric input (r) ─────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:668:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:762:3): only used in output (r) ───────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:762:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:783:3): overlapping graph (r) ─────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:783:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:808:3): sum over one dimension (r) ────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:808:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:847:3): sum over two dimensions (r) ───────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:847:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:921:3): sum for a 4d array (r) ────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:921:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:951:3): sum initial condition from initial condition (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:951:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:963:3): another initial condition failure (r) ─────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:963:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:975:3): self output for scalar (r) ────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:975:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:987:3): non-time sentsitive output (r) ────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:987:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:999:3): logical operations (r) ────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:999:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1030:3): integer vector (r) ───────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1030:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1054:3): integer matrix (r) ───────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1054:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1081:3): c in dim for vector (r) ──────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1081:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1092:3): user variable information (r) ────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1092:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1111:3): user variable information - when no user (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1111:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1134:3): multiline string (r) ─────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(c("deriv(y) <- 0.5", "initial(y) <- 1")) test-run-general.R:1134:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1142:3): user integer (r) ─────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1142:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1157:3): multiple constraints (r) ─────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1157:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1170:3): set_user honours constraints (r) ─────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1170:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1184:3): user sized dependent variables are allowed (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1184:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1199:3): user parameter validation (r) ────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1199:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1255:3): sum over integer (r) ─────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1255:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1278:3): force integer on use (r) ─────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1278:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1294:3): force integer on a numeric vector truncates (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1294:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1309:3): user c functions can be passed arrays and indexes (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin:::skip_for_target("r") test-run-general.R:1309:2
   5.   └─odin:::odin_target_name(using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:73:2
   6.     └─odin::odin_options(target = using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:68:2
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1330:3): self output for scalar: rewrite corner case (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1330:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1343:3): deprecation warning finds used constructor name (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-general.R:1343:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-general.R:1360:3): deprecation warning falls back on base name (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
       █
    1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
    2. │ └─base::force(code)
    3. ├─rlang::eval_tidy(code_enq)
    4. ├─testthat::expect_warning(...) test-run-general.R:1360:2
    5. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    6. │   ├─testthat:::.capture(...)
    7. │   │ └─base::withCallingHandlers(...)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─odin::odin_(code)
   10.   └─odin::odin_options(...)
   11.     └─odin::can_compile(verbose = FALSE)
   12.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:4:3): constant (r) ──────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-interpolation.R:4:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:50:3): constant array (r) ───────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-interpolation.R:50:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:92:3): constant 3d array (r) ────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-interpolation.R:92:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:147:3): linear (r) ──────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-interpolation.R:147:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:180:3): spline (r) ──────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-interpolation.R:180:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:208:5): interpolation with two variables (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin_(...) test-run-interpolation.R:208:4
   5.   └─odin::odin_options(...)
   6.     └─odin::can_compile(verbose = FALSE)
   7.       └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:263:3): interpolation in a delay (r) ────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-interpolation.R:263:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:292:3): interpolation in a delay, with default (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-interpolation.R:292:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:322:3): critical times (r) ──────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin:::skip_for_target("c") test-run-interpolation.R:322:2
   5.   └─odin:::odin_target_name(using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:73:2
   6.     └─odin::odin_options(target = using) C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\odin\odin.Rcheck\tests\testthat\helper-odin.R:68:2
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:351:3): user sized interpolation, 1d (r) ────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-interpolation.R:351:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:383:3): user sized interpolation, 2d (r) ────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-interpolation.R:383:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-interpolation.R:414:3): double delayed interpolation function (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-interpolation.R:414:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-library.R:4:3): abs (r) ─────────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-library.R:4:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-library.R:15:3): log (r) ────────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-library.R:15:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-library.R:31:3): pow (r) ────────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-library.R:31:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-library.R:45:3): %% (r) ─────────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-library.R:45:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-library.R:79:3): %/% (r) ────────────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-library.R:79:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-library.R:112:3): 2-arg round (r) ───────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-library.R:112:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-library.R:142:3): multivariate hypergeometric (r) ───────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-library.R:142:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-library.R:176:3): multivariate hypergeometric - integer input (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-library.R:176:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-library.R:217:3): Throw an error if requesting more elements than possible (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-library.R:217:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-library.R:240:3): Can use as.numeric (r) ────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-library.R:240:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-regression.R:4:3): bug #78 (r) ──────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-regression.R:4:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-regression.R:25:3): bug #75 (r) ─────────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-regression.R:25:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:5:3): stochastic (r) ───────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:5:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:30:3): stochastic variables are time dependent (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:30:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:50:3): array stochastic variables are time dependent (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:50:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:70:3): stochastic initial conditions don't get called every step (r) ──
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:70:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:110:3): exotic stochastic functions (r) ────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:110:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:127:3): round & rbinom (r) ─────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:127:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:143:3): mutlinomial (r) ────────────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  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") test-run-stochastic.R:143:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:168:3): replicate: scalar (r) ──────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:168:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:185:3): replicate: array (r) ───────────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:185:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:208:3): low-level stochastics: norm_rand (r) ───
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:208:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:224:3): low-level stochastics: unif_rand (r) ───
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:224:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:240:3): low-level stochastics: exp_rand (r) ────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:240:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  ── Error (test-run-stochastic.R:256:3): rexp parametrisation (r) ───────────────
  Error: Could not find tools necessary to compile a package
  Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
  Backtrace:
      █
   1. ├─withr::with_options(opts, rlang::eval_tidy(code_enq))
   2. │ └─base::force(code)
   3. ├─rlang::eval_tidy(code_enq)
   4. └─odin::odin(...) test-run-stochastic.R:256:2
   5.   └─odin::odin_(...)
   6.     └─odin::odin_options(...)
   7.       └─odin::can_compile(verbose = FALSE)
   8.         └─pkgbuild::check_build_tools(verbose, !verbose)
  
  [ FAIL 387 | WARN 0 | SKIP 15 | PASS 217 ]
  Error: Test failures
  Execution halted