CRAN Package Check Results for Package odin

Last updated on 2021-10-25 12:59:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 10.38 134.90 145.28 OK
r-devel-linux-x86_64-debian-gcc 1.2.1 8.41 97.72 106.13 OK
r-devel-linux-x86_64-fedora-clang 1.2.1 176.84 OK
r-devel-linux-x86_64-fedora-gcc 1.2.1 176.11 OK
r-devel-windows-x86_64 1.2.1 17.00 183.00 200.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.0.1 OK
r-patched-linux-x86_64 1.2.1 8.34 130.43 138.77 OK
r-patched-solaris-x86 1.2.1 163.30 ERROR
r-release-linux-x86_64 1.2.1 10.49 129.78 140.27 OK
r-release-macos-arm64 1.2.1 OK
r-release-macos-x86_64 1.2.1 WARN
r-release-windows-ix86+x86_64 1.2.1 14.00 186.00 200.00 OK
r-oldrel-macos-x86_64 1.2.1 WARN
r-oldrel-windows-ix86+x86_64 1.2.1 18.00 201.00 219.00 OK

Check Details

Version: 1.2.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [51s/67s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(odin)
     >
     > test_check("odin")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • Engine is r (3)
     • On CRAN (15)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-interface.R:8:3): verbose ───────────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     14. └─odin:::ir_validate(ir, TRUE)
     15. └─odin:::ir_validate_against_schema(x, error)
     16. └─odin:::ir_validate_create_validator()
     17. └─jsonvalidate::json_validator(schema, engine = "ajv")
     18. └─jsonvalidate:::jsonvalidate_js()
     19. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     20. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     21. ├─V8:::get_str_output(...)
     22. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-interface.R:18:3): n_history is configurable ────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin(...) test-interface.R:18:2
     2. └─odin::odin_(...)
     3. └─odin::odin_parse_(x, options)
     4. └─odin:::ir_parse(x, options, type)
     5. └─odin:::ir_validate(ir, TRUE)
     6. └─odin:::ir_validate_against_schema(x, error)
     7. └─odin:::ir_validate_create_validator()
     8. └─jsonvalidate::json_validator(schema, engine = "ajv")
     9. └─jsonvalidate:::jsonvalidate_js()
     10. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     11. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     12. ├─V8:::get_str_output(...)
     13. └─V8:::context_eval(join(src), private$context, serialize)
     ── Failure (test-interface.R:49:3): prevent unknown target ─────────────────────
     `odin(...)` threw an error with unexpected message.
     Expected match: "Unknown target 'fortran'"
     Actual message: "SyntaxError: Unexpected token const"
     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:::ir_parse(x, options, type)
     10. └─odin:::ir_validate(ir, TRUE)
     11. └─odin:::ir_validate_against_schema(x, error)
     12. └─odin:::ir_validate_create_validator()
     13. └─jsonvalidate::json_validator(schema, engine = "ajv")
     14. └─jsonvalidate:::jsonvalidate_js()
     15. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     16. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     17. ├─V8:::get_str_output(...)
     18. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-interface.R:60:3): force a vector of strings (compile) ──────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     5. └─odin:::ir_validate(ir, TRUE)
     6. └─odin:::ir_validate_against_schema(x, error)
     7. └─odin:::ir_validate_create_validator()
     8. └─jsonvalidate::json_validator(schema, engine = "ajv")
     9. └─jsonvalidate:::jsonvalidate_js()
     10. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     11. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     12. ├─V8:::get_str_output(...)
     13. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-interface.R:69:3): force a vector of strings (parse) ────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-interface.R:77:3): force a symbol containing code ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin(code, target = "r") test-interface.R:77:2
     2. └─odin::odin_(...)
     3. └─odin::odin_parse_(x, options)
     4. └─odin:::ir_parse(x, options, type)
     5. └─odin:::ir_validate(ir, TRUE)
     6. └─odin:::ir_validate_against_schema(x, error)
     7. └─odin:::ir_validate_create_validator()
     8. └─jsonvalidate::json_validator(schema, engine = "ajv")
     9. └─jsonvalidate:::jsonvalidate_js()
     10. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     11. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     12. ├─V8:::get_str_output(...)
     13. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-interface.R:86:3): force a symbol containing code (parse) ───────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse(code) test-interface.R:86:2
     2. └─odin::odin_parse_(xx, options)
     3. └─odin:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── 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: "SyntaxError: Unexpected token const"
     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:::ir_parse(x, options, type)
     10. └─odin:::ir_validate(ir, TRUE)
     11. └─odin:::ir_validate_against_schema(x, error)
     12. └─odin:::ir_validate_create_validator()
     13. └─jsonvalidate::json_validator(schema, engine = "ajv")
     14. └─jsonvalidate:::jsonvalidate_js()
     15. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     16. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     17. ├─V8:::get_str_output(...)
     18. └─V8:::context_eval(join(src), private$context, serialize)
     ── 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: "SyntaxError: Unexpected token const"
     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_parse_(x, options)
     9. └─odin:::ir_parse(x, options, type)
     10. └─odin:::ir_validate(ir, TRUE)
     11. └─odin:::ir_validate_against_schema(x, error)
     12. └─odin:::ir_validate_create_validator()
     13. └─jsonvalidate::json_validator(schema, engine = "ajv")
     14. └─jsonvalidate:::jsonvalidate_js()
     15. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     16. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     17. ├─V8:::get_str_output(...)
     18. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-interface.R:140:3): compatibility layer passes to R6 class ──────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     5. └─odin:::ir_validate(ir, TRUE)
     6. └─odin:::ir_validate_against_schema(x, error)
     7. └─odin:::ir_validate_create_validator()
     8. └─jsonvalidate::json_validator(schema, engine = "ajv")
     9. └─jsonvalidate:::jsonvalidate_js()
     10. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     11. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     12. ├─V8:::get_str_output(...)
     13. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-ir.R:5:3): deserialise ──────────────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse_(code, type = "text") test-ir.R:5:2
     2. └─odin:::ir_parse(x, options, type)
     3. └─odin:::ir_validate(ir, TRUE)
     4. └─odin:::ir_validate_against_schema(x, error)
     5. └─odin:::ir_validate_create_validator()
     6. └─jsonvalidate::json_validator(schema, engine = "ajv")
     7. └─jsonvalidate:::jsonvalidate_js()
     8. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     9. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     10. ├─V8:::get_str_output(...)
     11. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-ir.R:15:3): Stage information included in IR ────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse_("examples/array_odin.R", options = odin_options(rewrite_constants = FALSE)) test-ir.R:15:2
     2. └─odin:::ir_parse(x, options, type)
     3. └─odin:::ir_validate(ir, TRUE)
     4. └─odin:::ir_validate_against_schema(x, error)
     5. └─odin:::ir_validate_create_validator()
     6. └─jsonvalidate::json_validator(schema, engine = "ajv")
     7. └─jsonvalidate:::jsonvalidate_js()
     8. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     9. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     10. ├─V8:::get_str_output(...)
     11. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-odin-build.R:9:3): build from validate ──────────────────────────
     Error in `odin_build(x, options)`: Expected an odin intermediate representation
     Backtrace:
     █
     1. └─odin::odin_build(x, options) test-odin-build.R:9:2
     ── Error (test-odin-build.R:23:3): build from ir ───────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse_(code, type = "text") test-odin-build.R:23:2
     2. └─odin:::ir_parse(x, options, type)
     3. └─odin:::ir_validate(ir, TRUE)
     4. └─odin:::ir_validate_against_schema(x, error)
     5. └─odin:::ir_validate_create_validator()
     6. └─jsonvalidate::json_validator(schema, engine = "ajv")
     7. └─jsonvalidate:::jsonvalidate_js()
     8. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     9. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     10. ├─V8:::get_str_output(...)
     11. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-odin-build.R:36:3): build failure ───────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse_(code, type = "text") test-odin-build.R:36:2
     2. └─odin:::ir_parse(x, options, type)
     3. └─odin:::ir_validate(ir, TRUE)
     4. └─odin:::ir_validate_against_schema(x, error)
     5. └─odin:::ir_validate_create_validator()
     6. └─jsonvalidate::json_validator(schema, engine = "ajv")
     7. └─jsonvalidate:::jsonvalidate_js()
     8. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     9. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     10. ├─V8:::get_str_output(...)
     11. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-odin-build.R:46:3): invalid input ───────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse_(code, type = "text") test-odin-build.R:46:2
     2. └─odin:::ir_parse(x, options, type)
     3. └─odin:::ir_validate(ir, TRUE)
     4. └─odin:::ir_validate_against_schema(x, error)
     5. └─odin:::ir_validate_create_validator()
     6. └─jsonvalidate::json_validator(schema, engine = "ajv")
     7. └─jsonvalidate:::jsonvalidate_js()
     8. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     9. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     10. ├─V8:::get_str_output(...)
     11. └─V8:::context_eval(join(src), private$context, serialize)
     ── 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 <std::invalid_argument/C++Error/error/condition>, a list
     `expected` is NULL
     ── Failure (test-odin-validate.R:9:3): valid model ─────────────────────────────
     res$result inherits from `'NULL'` not `'character'`.
     ── Error (test-parse-inplace.R:37:3): rmultinom is integer ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse(...) test-parse-inplace.R:37:2
     2. └─odin::odin_parse_(xx, options)
     3. └─odin:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse-inplace.R:55:3): rmhyper is integer ───────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse(...) test-parse-inplace.R:55:2
     2. └─odin::odin_parse_(xx, options)
     3. └─odin:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-config.R:61:3): Can include multiple files ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse(...) test-parse2-config.R:61:2
     2. └─odin::odin_parse_(xx, options)
     3. └─odin:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-config.R:79:3): extend config ────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse(...) test-parse2-config.R:79:2
     2. └─odin::odin_parse_(xx, options)
     3. └─odin:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-general.R:175:3): user calls may use some functions ──────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-general.R:750:3): detect integers ────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse(...) test-parse2-general.R:750:2
     2. └─odin::odin_parse_(xx, options)
     3. └─odin:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-rewrite.R:19:3): rewrite arrays drops references to dim_ variables ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse(...) test-parse2-rewrite.R:19:2
     2. └─odin::odin_parse_(xx, options)
     3. └─odin:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-rewrite.R:37:3): Can create compile-time constants ───────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse(...) test-parse2-rewrite.R:37:2
     2. └─odin::odin_parse_(xx, options)
     3. └─odin:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-rewrite.R:110:3): Rewrite all constants ──────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse(...) test-parse2-rewrite.R:110:2
     2. └─odin::odin_parse_(xx, options)
     3. └─odin:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-rewrite.R:125:3): leave time-varying expressions alone ───
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse(...) test-parse2-rewrite.R:125:2
     2. └─odin::odin_parse_(xx, options)
     3. └─odin:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-rewrite.R:142:3): collapse complex constants into expressions ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin_parse(...) test-parse2-rewrite.R:142:2
     2. └─odin::odin_parse_(xx, options)
     3. └─odin:::ir_parse(x, options, type)
     4. └─odin:::ir_validate(ir, TRUE)
     5. └─odin:::ir_validate_against_schema(x, error)
     6. └─odin:::ir_validate_create_validator()
     7. └─jsonvalidate::json_validator(schema, engine = "ajv")
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-unused.R:4:3): no unused variables ───────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     12. └─odin:::ir_validate(ir, TRUE)
     13. └─odin:::ir_validate_against_schema(x, error)
     14. └─odin:::ir_validate_create_validator()
     15. └─jsonvalidate::json_validator(schema, engine = "ajv")
     16. └─jsonvalidate:::jsonvalidate_js()
     17. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     18. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     19. ├─V8:::get_str_output(...)
     20. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-unused.R:11:3): one unused variable ──────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     9. └─odin:::ir_validate(ir, TRUE)
     10. └─odin:::ir_validate_against_schema(x, error)
     11. └─odin:::ir_validate_create_validator()
     12. └─jsonvalidate::json_validator(schema, engine = "ajv")
     13. └─jsonvalidate:::jsonvalidate_js()
     14. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     15. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     16. ├─V8:::get_str_output(...)
     17. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-unused.R:27:3): more than one unused variable ────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     9. └─odin:::ir_validate(ir, TRUE)
     10. └─odin:::ir_validate_against_schema(x, error)
     11. └─odin:::ir_validate_create_validator()
     12. └─jsonvalidate::json_validator(schema, engine = "ajv")
     13. └─jsonvalidate:::jsonvalidate_js()
     14. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     15. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     16. ├─V8:::get_str_output(...)
     17. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-unused.R:37:3): dependent unused variables ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     9. └─odin:::ir_validate(ir, TRUE)
     10. └─odin:::ir_validate_against_schema(x, error)
     11. └─odin:::ir_validate_create_validator()
     12. └─jsonvalidate::json_validator(schema, engine = "ajv")
     13. └─jsonvalidate:::jsonvalidate_js()
     14. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     15. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     16. ├─V8:::get_str_output(...)
     17. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-unused.R:47:3): dependent non-unused variables ───────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     12. └─odin:::ir_validate(ir, TRUE)
     13. └─odin:::ir_validate_against_schema(x, error)
     14. └─odin:::ir_validate_create_validator()
     15. └─jsonvalidate::json_validator(schema, engine = "ajv")
     16. └─jsonvalidate:::jsonvalidate_js()
     17. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     18. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     19. ├─V8:::get_str_output(...)
     20. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-unused.R:56:3): delayed non-unused variables ─────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     12. └─odin:::ir_validate(ir, TRUE)
     13. └─odin:::ir_validate_against_schema(x, error)
     14. └─odin:::ir_validate_create_validator()
     15. └─jsonvalidate::json_validator(schema, engine = "ajv")
     16. └─jsonvalidate:::jsonvalidate_js()
     17. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     18. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     19. ├─V8:::get_str_output(...)
     20. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-unused.R:65:3): dimension names get cleaned ──────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     9. └─odin:::ir_validate(ir, TRUE)
     10. └─odin:::ir_validate_against_schema(x, error)
     11. └─odin:::ir_validate_create_validator()
     12. └─jsonvalidate::json_validator(schema, engine = "ajv")
     13. └─jsonvalidate:::jsonvalidate_js()
     14. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     15. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     16. ├─V8:::get_str_output(...)
     17. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-unused.R:83:3): don't be too noisy ───────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     12. └─odin:::ir_validate(ir, TRUE)
     13. └─odin:::ir_validate_against_schema(x, error)
     14. └─odin:::ir_validate_create_validator()
     15. └─jsonvalidate::json_validator(schema, engine = "ajv")
     16. └─jsonvalidate:::jsonvalidate_js()
     17. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     18. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     19. ├─V8:::get_str_output(...)
     20. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-parse2-unused.R:95:3): Can suppress unused variables with a comment ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     12. └─odin:::ir_validate(ir, TRUE)
     13. └─odin:::ir_validate_against_schema(x, error)
     14. └─odin:::ir_validate_create_validator()
     15. └─jsonvalidate::json_validator(schema, engine = "ajv")
     16. └─jsonvalidate:::jsonvalidate_js()
     17. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     18. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     19. ├─V8:::get_str_output(...)
     20. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-ring-cache.R:42:3): reused cached model ─────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─odin::odin(code) test-ring-cache.R:42:2
     2. └─odin::odin_(...)
     3. └─odin::odin_parse_(x, options)
     4. └─odin:::ir_parse(x, options, type)
     5. └─odin:::ir_validate(ir, TRUE)
     6. └─odin:::ir_validate_against_schema(x, error)
     7. └─odin:::ir_validate_create_validator()
     8. └─jsonvalidate::json_validator(schema, engine = "ajv")
     9. └─jsonvalidate:::jsonvalidate_js()
     10. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     11. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     12. ├─V8:::get_str_output(...)
     13. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:4:3): trivial model (r) ─────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:34:3): Time dependent rhs (r) ───────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:54:3): Time dependent initial conditions (r) ────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:79:3): use state in derivative calculation (r) ──────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:97:3): multiple variables (r) ───────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:116:3): user variables (r) ──────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:149:3): simple operations in user variables are allowed (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:164:3): output (r) ──────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:193:3): output (r) ──────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:207:3): copy output (r) ─────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:225:3): copy output, explicitly (r) ─────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:244:3): discrete (r) ────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:260:3): discrete with output (r) ────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:277:3): array support (r) ───────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:312:3): multi-line array expression (r) ─────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:326:3): 3d array (r) ────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:354:3): user array (r) ──────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:370:3): user matrix (r) ─────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:401:3): user array - indirect (r) ───────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:425:3): user array - direct (r) ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:447:3): user array - direct 3d (r) ──────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:469:3): interpolation (r) ───────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:507:3): stochastic (r) ──────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:525:3): multiple arrays: constant (r) ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:544:3): multiple arrays: dynamic (r) ────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:563:3): multiple output arrays (r) ──────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:593:3): 3d array time dependent and variable (r) ────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:626:3): rich user arrays (r) ────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:645:3): rich user sized arrays (r) ──────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:663:3): discrete delays: matrix (r) ─────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:686:3): multinomial (r) ─────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:712:3): local scope of loop variables (r) ───────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:739:3): Can set or omit names (r) ───────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:751:3): Can set initial conditions directly in an ode (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:763:3): Can substitute user variables (r) ───────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-basic.R:787:3): Can rewrite common dimensions (r) ───────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:11:3): mixed delay model (r) ─────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:73:3): use subset of variables (r) ───────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:93:3): delay array storage (r) ───────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:145:3): 3 arg delay (r) ──────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:168:3): 3 arg delay with array (r) ───────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:198:3): delay index packing (r) ──────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:260:3): nontrivial time (r) ──────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:275:3): overlapping array storage (r) ────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:335:3): delayed delays (r) ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:359:3): compute derivative (r) ───────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:433:3): delay with array and provide input (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:477:3): set initial conditions in delay differential equation (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-continuous.R:493:3): can set/omit ynames (r) ──────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-discrete.R:4:3): delays (r) ───────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-discrete.R:20:3): delays: scalar variable (r) ─────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-discrete.R:44:3): delays: scalar expression (r) ───────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-discrete.R:69:3): delays: vector variable (r) ─────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-discrete.R:96:3): delays: vector expression (r) ───────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-discrete.R:122:3): delay vars that depend on time (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-discrete.R:141:3): disable update function (r) ────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-discrete.R:157:3): default (scalar) (r) ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:157:2
     5. └─odin::odin_(...)
     6. └─odin::odin_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-delay-discrete.R:183:3): default (vector) (r) ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:183:2
     5. └─odin::odin_(...)
     6. └─odin::odin_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-discrete.R:4:3): basic (r) ──────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-discrete.R:22:3): output (r) ────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-discrete.R:47:3): interpolate (r) ───────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-discrete.R:76:3): use step in model (r) ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-discrete.R:88:3): 2d array equations (r) ────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-discrete.R:113:3): complex initialisation: scalar (r) ───────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-discrete.R:155:3): complex initialisation: vector (r) ───────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-discrete.R:183:3): can set initial conditions (r) ───────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-discrete.R:195:3): can set/omit ynames (r) ──────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-examples.R:96:3): user arrays (r) ───────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-examples.R:179:3): lv (r) ───────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:7:3): constant model (r) ──────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:22:3): user variables (r) ─────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:60:3): user variables on models with none (r) ─────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:74:3): non-numeric time (r) ───────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:86:3): delays and initial conditions (r) ──────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:119:3): non-numeric user (r) ──────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:132:3): conditionals (r) ──────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:146:3): conditionals, precendence (r) ─────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:161:3): time dependent (r) ────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:190:3): time dependent initial conditions (r) ─────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:228:3): user r (r) ────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:228:2
     5. └─odin::odin_(...)
     6. └─odin::odin_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:279:3): time dependent initial conditions (r) ─────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:302:3): time dependent initial conditions depending on vars (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:322:3): unused variable in output (r) ─────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:353:3): 3d array (r) ──────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:382:3): 4d array (r) ──────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:397:3): mixed (r) ─────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:446:3): output array (r) ──────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:473:3): output array (r) ──────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:498:3): use length on rhs (r) ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:511:3): use dim on rhs (r) ────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:528:3): transform variables with output (r) ───────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:556:3): transform variables without time (r) ──────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:594:3): pathalogical array index (r) ──────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:625:3): two output arrays (r) ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:668:3): non-numeric input (r) ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:762:3): only used in output (r) ───────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:783:3): overlapping graph (r) ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:808:3): sum over one dimension (r) ────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:847:3): sum over two dimensions (r) ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:921:3): sum for a 4d array (r) ────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:951:3): sum initial condition from initial condition (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:963:3): another initial condition failure (r) ─────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:975:3): self output for scalar (r) ────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:987:3): non-time sentsitive output (r) ────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:999:3): logical operations (r) ────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1030:3): integer vector (r) ───────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1054:3): integer matrix (r) ───────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1081:3): c in dim for vector (r) ──────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1092:3): user variable information (r) ────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1111:3): user variable information - when no user (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1134:3): multiline string (r) ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1142:3): user integer (r) ─────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1157:3): multiple constraints (r) ─────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1170:3): set_user honours constraints (r) ─────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1184:3): user sized dependent variables are allowed (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1199:3): user parameter validation (r) ────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1255:3): sum over integer (r) ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1278:3): force integer on use (r) ─────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1294:3): force integer on a numeric vector truncates (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1330:3): self output for scalar: rewrite corner case (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1343:3): deprecation warning finds used constructor name (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-general.R:1360:3): deprecation warning falls back on base name (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     11. └─odin:::ir_parse(x, options, type)
     12. └─odin:::ir_validate(ir, TRUE)
     13. └─odin:::ir_validate_against_schema(x, error)
     14. └─odin:::ir_validate_create_validator()
     15. └─jsonvalidate::json_validator(schema, engine = "ajv")
     16. └─jsonvalidate:::jsonvalidate_js()
     17. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     18. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     19. ├─V8:::get_str_output(...)
     20. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:4:3): constant (r) ──────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:50:3): constant array (r) ───────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:92:3): constant 3d array (r) ────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:147:3): linear (r) ──────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:180:3): spline (r) ──────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:208:5): interpolation with two variables (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     6. └─odin:::ir_parse(x, options, type)
     7. └─odin:::ir_validate(ir, TRUE)
     8. └─odin:::ir_validate_against_schema(x, error)
     9. └─odin:::ir_validate_create_validator()
     10. └─jsonvalidate::json_validator(schema, engine = "ajv")
     11. └─jsonvalidate:::jsonvalidate_js()
     12. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     13. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     14. ├─V8:::get_str_output(...)
     15. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:263:3): interpolation in a delay (r) ────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:292:3): interpolation in a delay, with default (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:323:3): critical times (r) ──────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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:323:2
     5. └─odin::odin_(...)
     6. └─odin::odin_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:351:3): user sized interpolation, 1d (r) ────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:383:3): user sized interpolation, 2d (r) ────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-interpolation.R:414:3): double delayed interpolation function (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-library.R:4:3): abs (r) ─────────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-library.R:15:3): log (r) ────────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-library.R:31:3): pow (r) ────────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-library.R:45:3): %% (r) ─────────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-library.R:79:3): %/% (r) ────────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-library.R:112:3): 2-arg round (r) ───────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-library.R:142:3): multivariate hypergeometric (r) ───────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-library.R:176:3): multivariate hypergeometric - integer input (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-library.R:217:3): Throw an error if requesting more elements than possible (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-library.R:240:3): Can use as.numeric (r) ────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-regression.R:4:3): bug #78 (r) ──────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-regression.R:25:3): bug #75 (r) ─────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:5:3): stochastic (r) ───────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:30:3): stochastic variables are time dependent (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:50:3): array stochastic variables are time dependent (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:70:3): stochastic initial conditions don't get called every step (r) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:110:3): exotic stochastic functions (r) ────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:127:3): round & rbinom (r) ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:143:3): mutlinomial (r) ────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:168:3): replicate: scalar (r) ──────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:185:3): replicate: array (r) ───────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:208:3): low-level stochastics: norm_rand (r) ───
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:224:3): low-level stochastics: unif_rand (r) ───
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:240:3): low-level stochastics: exp_rand (r) ────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-run-stochastic.R:256:3): rexp parametrisation (r) ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     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_parse_(x, options)
     7. └─odin:::ir_parse(x, options, type)
     8. └─odin:::ir_validate(ir, TRUE)
     9. └─odin:::ir_validate_against_schema(x, error)
     10. └─odin:::ir_validate_create_validator()
     11. └─jsonvalidate::json_validator(schema, engine = "ajv")
     12. └─jsonvalidate:::jsonvalidate_js()
     13. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     14. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     15. ├─V8:::get_str_output(...)
     16. └─V8:::context_eval(join(src), private$context, serialize)
    
     [ FAIL 199 | WARN 0 | SKIP 18 | PASS 415 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86

Version: 1.2.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘discrete.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Error: processing vignette 'discrete.Rmd' failed with diagnostics:
    there is no package called 'stringi'
    --- failed re-building ‘discrete.Rmd’
    
    --- re-building ‘functions.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Error: processing vignette 'functions.Rmd' failed with diagnostics:
    there is no package called 'stringi'
    --- failed re-building ‘functions.Rmd’
    
    --- re-building ‘odin.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Error: processing vignette 'odin.Rmd' failed with diagnostics:
    there is no package called 'stringi'
    --- failed re-building ‘odin.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘discrete.Rmd’ ‘functions.Rmd’ ‘odin.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64