Running 'testthat.R'
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:18:3): n_history is configurable ────────────────────
  Error: System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr:
  E> * installing *source* package 'odin02a1cf8f' ...
  E> ** using staged installation
  E> ** libs
  E> Warning in system(cmd) : 'make' not found
  E> ERROR: compilation failed for package 'odin02a1cf8f'
  E> * removing 'C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/odin/tmp/RtmpcppnjR/devtools_install_23ae821c954b1/odin02a1cf8f'
  Backtrace:
       █
    1. └─odin::odin(...) test-interface.R:18:2
    2.   └─odin::odin_(...)
    3.     └─odin:::odin_generate(ir, options)
    4.       └─odin:::odin_c_wrapper(ir, options)
    5.         └─odin:::compile_dll(dest, compile_attributes = FALSE, quiet = quiet)
    6.           ├─withr::with_envvar(c(R_MAKEVARS_USER = makevars), pkgbuild::compile_dll(...))
    7.           │ └─base::force(code)
    8.           └─pkgbuild::compile_dll(...)
    9.             └─pkgbuild:::install_min(...)
   10.               └─pkgbuild::rcmd_build_tools(...)
   11.                 ├─pkgbuild::with_build_tools(...)
   12.                 │ └─withr::with_path(rtools_path(), code)
   13.                 │   └─base::force(code)
   14.                 └─callr::rcmd_safe(...)
   15.                   └─callr:::run_r(options)
   16.                     ├─base::with(...)
   17.                     └─base::with.default(...)
   18.                       └─base::eval(substitute(expr), data, enclos = parent.frame())
   19.                         └─base::eval(substitute(expr), data, enclos = parent.frame())
   20.                           ├─callr:::with_envvar(...)
   21.                           │ └─base::force(code)
   22.                           ├─base::do.call(...)
   23.                           └─(function (command = NULL, args = character(), error_on_status = TRUE, ...
   24.                             └─throw(...)
  ── Failure (test-odin-build.R:10:3): build from validate ───────────────────────
  res$model inherits from `'NULL'` not `'character'`.
  ── Failure (test-odin-build.R:13:3): build from validate ───────────────────────
  res$success is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-odin-build.R:14:3): build from validate ───────────────────────
  res$error is not NULL
  
  `actual` is a character vector ('System command \'Rcmd.exe\' failed')
  `expected` is NULL
  ── Failure (test-odin-build.R:25:3): build from ir ─────────────────────────────
  res$model inherits from `'NULL'` not `'character'`.
  ── Failure (test-odin-build.R:28:3): build from ir ─────────────────────────────
  res$success is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-odin-build.R:29:3): build from ir ─────────────────────────────
  res$error is not NULL
  
  `actual` is a character vector ('System command \'Rcmd.exe\' failed')
  `expected` is NULL
  ── Error (test-ring-cache.R:42:3): reused cached model ─────────────────────────
  Error: System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr:
  E> * installing *source* package 'odin67a1d3ed' ...
  E> ** using staged installation
  E> ** libs
  E> Warning in system(cmd) : 'make' not found
  E> ERROR: compilation failed for package 'odin67a1d3ed'
  E> * removing 'C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/odin/tmp/RtmpcppnjR/devtools_install_23ae850b3334c/odin67a1d3ed'
  Backtrace:
       █
    1. └─odin::odin(code) test-ring-cache.R:42:2
    2.   └─odin::odin_(...)
    3.     └─odin:::odin_generate(ir, options)
    4.       └─odin:::odin_c_wrapper(ir, options)
    5.         └─odin:::compile_dll(dest, compile_attributes = FALSE, quiet = quiet)
    6.           ├─withr::with_envvar(c(R_MAKEVARS_USER = makevars), pkgbuild::compile_dll(...))
    7.           │ └─base::force(code)
    8.           └─pkgbuild::compile_dll(...)
    9.             └─pkgbuild:::install_min(...)
   10.               └─pkgbuild::rcmd_build_tools(...)
   11.                 ├─pkgbuild::with_build_tools(...)
   12.                 │ └─withr::with_path(rtools_path(), code)
   13.                 │   └─base::force(code)
   14.                 └─callr::rcmd_safe(...)
   15.                   └─callr:::run_r(options)
   16.                     ├─base::with(...)
   17.                     └─base::with.default(...)
   18.                       └─base::eval(substitute(expr), data, enclos = parent.frame())
   19.                         └─base::eval(substitute(expr), data, enclos = parent.frame())
   20.                           ├─callr:::with_envvar(...)
   21.                           │ └─base::force(code)
   22.                           ├─base::do.call(...)
   23.                           └─(function (command = NULL, args = character(), error_on_status = TRUE, ...
   24.                             └─throw(...)
  
  [ FAIL 8 | WARN 0 | SKIP 18 | PASS 1055 ]
  Error: Test failures
  Execution halted