- using R version 4.5.2 RC (2025-10-27 r88972)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
    gcc-14 (Debian 14.3.0-8) 14.3.0
    GNU Fortran (Debian 14.3.0-8) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘mwcsr/DESCRIPTION’ ... OK
- this is package ‘mwcsr’ version ‘0.1.9’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘mwcsr’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-14 (Debian 14.3.0-8) 14.3.0’
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [7s/9s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/3s] ERROR
Running examples in ‘mwcsr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: virgo_solver
> ### Title: Construct a virgo solver
> ### Aliases: virgo_solver
> 
> ### ** Examples
> 
> data("sgmwcs_small_instance")
> approx_vs <- virgo_solver(mst=TRUE, threads = 1)
> approx_vs$run_main("-h")
Option (* = required)                  Description                            
---------------------                  -----------                            
--benchmark, --bm                      Benchmark output file (default: )      
-c <Integer>                           Threshold for CPE solver (default: 25) 
* -e, --edges                          Edge list file                         
-h, --help                             Print a short help message             
-l, --log <Integer>                    Log level (default: 0)                 
-m, --threads <Integer>                Number of threads (default: 1)         
--mst                                  Use primal heuristic only              
* -n, --nodes                          Node list file                         
-o, --output-dir                       Solver output directory                
-p, --epsilon <Double>                 Maximum allowed absolute score error   
                                         for solver (default: 0.0)            
--pl, --preprocessing-level [Integer]  Preprocessing level (default: 2)       
-s, --signals                          Signals file                           
-t, --timelimit <Long>                 Timelimit in seconds (<= 0 -           
                                         unlimited) (default: 0)              
--type                                 One of: SGMWCS, GMWCS (default: sgmwcs)
--version                                                                     
> sol <- solve_mwcsp(approx_vs, sgmwcs_small_instance)
Error:
! The `vp` argument of `get_edge_ids()` is not allowed to be a 2 times 2
  matrix as of igraph 2.1.5.
Backtrace:
     ▆
  1. ├─mwcsr::solve_mwcsp(approx_vs, sgmwcs_small_instance)
  2. └─mwcsr:::solve_mwcsp.virgo_solver(approx_vs, sgmwcs_small_instance)
  3.   └─mwcsr:::solve_sgmwcs(solver, instance, ...)
  4.     └─mwcsr:::run_solver(...)
  5.       └─igraph::get.edge.ids(instance, t(edges[, 1:2]))
  6.         └─igraph::get_edge_ids(...)
  7.           └─igraph:::el_to_vec(vp, call = rlang::caller_env())
  8.             └─lifecycle::deprecate_stop("2.1.5", "get_edge_ids(vp = 'is not allowed to be a 2 times 2 matrix')")
  9.               └─lifecycle:::deprecate_stop0(msg)
 10.                 └─rlang::cnd_signal(...)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [19s/25s] ERROR
  Running ‘testthat.R’ [19s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mwcsr)
  > 
  > test_check("mwcsr")
  [ FAIL 2 | WARN 10 | SKIP 5 | PASS 41 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • No CPLEX available (3): 'test_virgo.R:5:9', 'test_virgo.R:15:9',
    'test_virgo.R:24:9'
  • SCIP is not available (2): 'test_scip.R:5:9', 'test_scip.R:16:9'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_virgo.R:48:5'): heuristic virgo_solver works on SGMWCS ─────────
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: The `vp` argument of `get_edge_ids()` is not allowed to be a 2 times 2
  matrix as of igraph 2.1.5.
  Backtrace:
       ▆
    1. ├─mwcsr::solve_mwcsp(solver, sgmwcs_small_instance) at test_virgo.R:48:5
    2. └─mwcsr:::solve_mwcsp.virgo_solver(solver, sgmwcs_small_instance)
    3.   └─mwcsr:::solve_sgmwcs(solver, instance, ...)
    4.     └─mwcsr:::run_solver(...)
    5.       └─igraph::get.edge.ids(instance, t(edges[, 1:2]))
    6.         └─igraph::get_edge_ids(...)
    7.           └─igraph:::el_to_vec(vp, call = rlang::caller_env())
    8.             └─lifecycle::deprecate_stop("2.1.5", "get_edge_ids(vp = 'is not allowed to be a 2 times 2 matrix')")
    9.               └─lifecycle:::deprecate_stop0(msg)
   10.                 └─rlang::cnd_signal(...)
  ── Error ('test_virgo.R:81:5'): heuristic virgo_solver works on SGMWCS ─────────
  <lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
  Error: The `vp` argument of `get_edge_ids()` is not allowed to be a 2 times 2
  matrix as of igraph 2.1.5.
  Backtrace:
       ▆
    1. ├─mwcsr::solve_mwcsp(solver, si) at test_virgo.R:81:5
    2. └─mwcsr:::solve_mwcsp.virgo_solver(solver, si)
    3.   └─mwcsr:::solve_sgmwcs(solver, instance, ...)
    4.     └─mwcsr:::run_solver(...)
    5.       └─igraph::get.edge.ids(instance, t(edges[, 1:2]))
    6.         └─igraph::get_edge_ids(...)
    7.           └─igraph:::el_to_vec(vp, call = rlang::caller_env())
    8.             └─lifecycle::deprecate_stop("2.1.5", "get_edge_ids(vp = 'is not allowed to be a 2 times 2 matrix')")
    9.               └─lifecycle:::deprecate_stop0(msg)
   10.                 └─rlang::cnd_signal(...)
  
  [ FAIL 2 | WARN 10 | SKIP 5 | PASS 41 ]
  Error: Test failures
  Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [33s/44s] OK
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs