- using R Under development (unstable) (2025-10-13 r88918 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.2.0
GNU Fortran (GCC) 14.2.0
- running under: Windows Server 2022 x64 (build 20348)
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'mwcsr' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 14.2.0'
- checking installed package size ... OK
- checking package directory ... 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] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [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 ... [4s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 ... [1s] 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 pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [2s] ERROR
Running examples in 'mwcsr-Ex.R' failed
The error most likely occurred in:
> ### 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 ... [21s] ERROR
Running 'testthat.R' [21s]
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 ... [29s] OK
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 2 ERRORs