Running ‘testthat.R’ [23s/303s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(seqwrap)
  > 
  > test_check("seqwrap")
  Using row names as target identification
  Using row names as target identification
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 1 core
  Merging and modelling data
  Jun 06 2026 18:51:29: Completed model fitting and evaluation. Elapsed time was 0.08 minutes
  i Some targets had associated errors or warnings
  * Modeling algorithm (errors): n = 0 (0%)
  * Modeling algorithm (warnings): n = 0 (0%)
  * Summary function (errors): n = 0 (0%)
  * Summary function (warnings): n = 0 (0%)
  * Evaluation function (errors): n = 0 (0%)
  * Evaluation function (warnings): n = 10 (100%)
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 1 core
  Merging and modelling data
  Jun 06 2026 18:51:30: Completed model fitting and evaluation. Elapsed time was 0.02 minutes
  i Some targets had associated errors or warnings
  * Modeling algorithm (errors): n = 0 (0%)
  * Modeling algorithm (warnings): n = 0 (0%)
  * Summary function (errors): n = 0 (0%)
  * Summary function (warnings): n = 0 (0%)
  * Evaluation function (errors): n = 0 (0%)
  * Evaluation function (warnings): n = 10 (100%)
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 1 core
  Merging and modelling data
  Jun 06 2026 18:51:36: Completed model fitting and evaluation. Elapsed time was 0.09 minutes
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 1 core
  Merging and modelling data
  Jun 06 2026 18:51:40: Completed model fitting and evaluation. Elapsed time was 0.07 minutes
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 1 core
  Merging and modelling data
  Jun 06 2026 18:51:46: Completed model fitting and evaluation. Elapsed time was 0.09 minutes
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 1 core
  Merging and modelling data
  Jun 06 2026 18:51:50: Completed model fitting and evaluation. Elapsed time was 0.07 minutes
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 2 cores
  Merging and modelling data
  Jun 06 2026 18:51:56: Completed model fitting and evaluation. Elapsed time was 0.1 minutes
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 1 core
  Merging and modelling data
  Jun 06 2026 18:52:00: Completed model fitting and evaluation. Elapsed time was 0.07 minutes
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 1 core
  Merging and modelling data
  Jun 06 2026 18:52:04: Completed model fitting and evaluation. Elapsed time was 0.06 minutes
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 1 core
  Merging and modelling data
  Jun 06 2026 18:52:06: Completed model fitting and evaluation. Elapsed time was 0.03 minutes
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 1 core
  Fatal error: cannot create 'R_TempDir'
  Saving _problems/test-seqwrap-76.R
  
  -- seqwrap ---------------------------------------------------------------------
  Initiating clusters for parallel processing with 1 core
  Merging and modelling data
  Jun 06 2026 18:56:13: Completed model fitting and evaluation. Elapsed time was 0.12 minutes
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 33 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-simcounts.R:7:3', 'test-simcounts2.R:9:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-seqwrap.R:67:3'): seqwrap returns a list of models in the model
            slot when asked to return models ──
  Error in `makePSOCKcluster(names = spec, ...)`: Cluster setup failed. 1 worker of 1 failed to connect.
  Backtrace:
      ▆
   1. └─seqwrap::seqwrap(...) at test-seqwrap.R:67:3
   2.   └─parallel::makeCluster(num_cores)
   3.     └─parallel::makePSOCKcluster(names = spec, ...)
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 33 ]
  Error:
  ! Test failures.
  Execution halted