Running ‘testthat-a_m.R’ [5s/6s]
  Running ‘testthat-m_z.R’ [5s/5s]
Running the tests in ‘tests/testthat-a_m.R’ failed.
Complete output:
  > library(testthat)
  > library(merTools)
  Loading required package: arm
  Loading required package: MASS
  Loading required package: Matrix
  Loading required package: lme4
  
  arm (Version 1.14-4, built: 2024-4-1)
  
  Working directory is /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/merTools.Rcheck/tests
  
  > 
  > test_check("merTools", filter = "^[a-m]")
  Starting 2 test processes
  
  
  Error in `private$handle_error()`:
  ! testthat subprocess failed to start, stderr:
  Loading required package: arm
  Loading required package: MASS
  Loading required package: grDevices
  Loading required package: graphics
  Loading required package: stats
  Loading required package: utils
  Loading required package: Matrix
  Error: package or namespace load failed for 'Matrix' in ans[ypos] <- rep(yes, length.out = len)[ypos]:
   Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'
  Error: package 'Matrix' could not be loaded
  Caused by error:
  ! R session crashed with exit code 1
  Backtrace:
       ▆
    1. └─testthat::test_check("merTools", filter = "^[a-m]")
    2.   └─testthat::test_dir(...)
    3.     └─testthat:::test_files(...)
    4.       └─testthat:::test_files_parallel(...)
    5.         ├─withr::with_dir(...)
    6.         │ └─base::force(code)
    7.         ├─testthat::with_reporter(...)
    8.         │ └─base::tryCatch(...)
    9.         │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10.         │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.         │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12.         └─testthat:::parallel_event_loop_chunky(queue, reporters, ".")
   13.           └─queue$poll(Inf)
   14.             └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─rlang::abort(...)
  Execution halted
Running the tests in ‘tests/testthat-m_z.R’ failed.
Complete output:
  > library(testthat)
  > library(merTools)
  Loading required package: arm
  Loading required package: MASS
  Loading required package: Matrix
  Loading required package: lme4
  
  arm (Version 1.14-4, built: 2024-4-1)
  
  Working directory is /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/merTools.Rcheck/tests
  
  > 
  > 
  > test_check("merTools", filter = "^[m-z]")
  Starting 2 test processes
  
  
  Error in `private$handle_error()`:
  ! testthat subprocess failed to start, stderr:
  Loading required package: arm
  Loading required package: MASS
  Loading required package: grDevices
  Loading required package: graphics
  Loading required package: stats
  Loading required package: utils
  Loading required package: Matrix
  Error: package or namespace load failed for 'Matrix' in ans[ypos] <- rep(yes, length.out = len)[ypos]:
   Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'
  Error: package 'Matrix' could not be loaded
  Caused by error:
  ! R session crashed with exit code 1
  Backtrace:
       ▆
    1. └─testthat::test_check("merTools", filter = "^[m-z]")
    2.   └─testthat::test_dir(...)
    3.     └─testthat:::test_files(...)
    4.       └─testthat:::test_files_parallel(...)
    5.         ├─withr::with_dir(...)
    6.         │ └─base::force(code)
    7.         ├─testthat::with_reporter(...)
    8.         │ └─base::tryCatch(...)
    9.         │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10.         │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.         │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12.         └─testthat:::parallel_event_loop_chunky(queue, reporters, ".")
   13.           └─queue$poll(Inf)
   14.             └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─rlang::abort(...)
  Execution halted