Running 'testthat.R' [129s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mapbayr)
  
  Attaching package: 'mapbayr'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("mapbayr")
  
  [==============================================================] ID 2/2 (100%)
                                                                                
  Building pchelle_mod ... done.
  error.
  
  ---:: stderr ::---------------------------------------------
  using C++ compiler: 'g++.exe (GCC) 12.2.0'
  
  cc1plus.exe: out of memory allocating 135167 bytes
  make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:272: mrg_001_cpp-mread-source.o] Error 1
  ------------------------------------------------------------
  Building mod_getparam ... done.
  Building mod12 ... done.
  
  [=============================================>----------------] ID 3/4 ( 75%)
  [==============================================================] ID 4/4 (100%)
                                                                                
  
  [ FAIL 4 | WARN 0 | SKIP 4 | PASS 586 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (4)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-check_mapbayr_model.R:6'): missing shared object is checked ────
  Error: the model build step failed.
  Backtrace:
      ▆
   1. └─mapbayr::exmodel(cache = FALSE) at test-check_mapbayr_model.R:6:2
   2.   └─mrgsolve::mread(model_name, quiet = quiet, ...)
   3.     └─mrgsolve:::build_failed(out, build, x, spec, ignore.stdout)
  ── Error ('test-check_mapbayr_model.R:24'): $PARAM is well-specified ───────────
  Error in `file.append(to[okay], from[okay])`: could not allocate copy buffer
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-check_mapbayr_model.R:24:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─mapbayr::check_mapbayr_model(mcode2("$PARAM CL = 1"), check_compile = FALSE)
    8. │ └─mrgsolve::is.mrgmod(x)
    9. └─mapbayr (local) mcode2("$PARAM CL = 1")
   10.   └─mrgsolve::mcode(...) at test-check_mapbayr_model.R:15:2
   11.     └─mrgsolve::mread(...)
   12.       └─mrgsolve:::check_and_copy(from = temp_write, to = build[["compfile"]])
   13.         └─base::file.copy(from, to)
   14.           └─base::file.append(to[okay], from[okay])
  ── Error ('test-check_mapbayr_model.R:63'): $SIGMA is well-specified ───────────
  Error in `file.append(to[okay], from[okay])`: could not allocate copy buffer
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-check_mapbayr_model.R:63:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─mapbayr::check_mapbayr_model(...)
    8. │ └─mrgsolve::is.mrgmod(x)
    9. └─mapbayr (local) mcode2("$PARAM ETA1 = 0, ETA2 = 0\n                                $OMEGA 0.1 0.1\n                                $SIGMA 1 2 3 4")
   10.   └─mrgsolve::mcode(...) at test-check_mapbayr_model.R:15:2
   11.     └─mrgsolve::mread(...)
   12.       └─mrgsolve:::check_and_copy(from = temp_write, to = build[["compfile"]])
   13.         └─base::file.copy(from, to)
   14.           └─base::file.append(to[okay], from[okay])
  ── Error ('test-check_mapbayr_model.R:117'): $CAPTURE is well-specified ────────
  Error in `file.append(to[okay], from[okay])`: could not allocate copy buffer
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-check_mapbayr_model.R:117:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─mapbayr::check_mapbayr_model(...)
    8. │ └─mrgsolve::is.mrgmod(x)
    9. └─mapbayr (local) mcode2("$PARAM ETA1 = 0, ETA2 = 0\n                               $OMEGA 0.1 0.1\n                               $SIGMA 1 0\n                               $CAPTURE ETA1")
   10.   └─mrgsolve::mcode(...) at test-check_mapbayr_model.R:15:2
   11.     └─mrgsolve::mread(...)
   12.       └─mrgsolve:::check_and_copy(from = temp_write, to = build[["compfile"]])
   13.         └─base::file.copy(from, to)
   14.           └─base::file.append(to[okay], from[okay])
  
  [ FAIL 4 | WARN 0 | SKIP 4 | PASS 586 ]
  Error: Test failures
  Execution halted