- using R version 4.5.1 (2025-06-13 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 'D2MCS/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'D2MCS' version '1.0.1'
- 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 'D2MCS' can be installed ... OK
See the install log for details.
- 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 ... [6s] OK
- checking whether the package can be loaded with stated dependencies ... [6s] OK
- checking whether the package can be unloaded cleanly ... [6s] OK
- checking whether the namespace can be loaded with stated dependencies ... [6s] OK
- checking whether the namespace can be unloaded cleanly ... [6s] OK
- checking loading without being on the library search path ... [7s] 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 ... [15s] OK
- checking Rd files ... [5s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
ConfMatrix.Rd: R6
D2MCS.Rd: getModelInfo
GainRatioHeuristic.Rd: gain.ratio
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
- 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [8s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [74s] ERROR
Running 'test_all.R' [74s]
Running the tests in 'tests/test_all.R' failed.
Complete output:
> testthat::test_check("D2MCS")
Loading required package: D2MCS
[ FAIL 5 | WARN 6 | SKIP 15 | PASS 755 ]
══ Skipped tests (15) ══════════════════════════════════════════════════════════
• On CRAN (2): 'test_D2MCS.R:129:3', 'test_D2MCS.R:213:3'
• {ranger} is not installed (13): 'test_D2MCS.R:411:3',
'test_prediction.ClusterPredictions.R:17:3',
'test_prediction.ClusterPredictions.R:46:3',
'test_prediction.CombinedVoting.R:150:3', 'test_prediction.Prediction.R:2:3',
'test_prediction.Prediction.R:29:3', 'test_prediction.Prediction.R:50:3',
'test_prediction.Prediction.R:75:3', 'test_prediction.Prediction.R:96:3',
'test_prediction.Prediction.R:128:3', 'test_prediction.Prediction.R:166:3',
'test_prediction.Prediction.R:179:3', 'test_prediction.SingleVoting.R:27:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_clustering.plot.BinaryPlot.R:10:3'): BinaryPlot: plot function works ──
c("gg", "ggplot") not equal to class(plot$plot(summary)).
Lengths differ: 2 is not 5
── Failure ('test_clustering.plot.GenericPlot.R:9:3'): GenericPlot: plot function works ──
c("gg", "ggplot") not equal to class(plot$plot(summary)).
Lengths differ: 2 is not 5
── Failure ('test_clustering.strategies.SimpleStrategy.R:111:3'): SimpleStrategy works ──
c("gg", "ggplot") not equal to class(strategy$plot(dir.path = NULL, file.name = NULL)).
Lengths differ: 2 is not 5
── Failure ('test_clustering.strategies.TypeBasedStrategy.R:226:3'): TypeBasedStrategy works ──
c("gg", "ggplot") not equal to class(strategyNoReal$plot()).
Lengths differ: 2 is not 5
── Failure ('test_clustering.strategies.TypeBasedStrategy.R:234:3'): TypeBasedStrategy works ──
c("gg", "ggplot") not equal to class(strategyNoBinary$plot()).
Lengths differ: 2 is not 5
[ FAIL 5 | WARN 6 | SKIP 15 | PASS 755 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [2s] OK
- checking PDF version of manual ... [37s] OK
- checking HTML version of manual ... [21s] OK
- DONE
Status: 1 ERROR, 1 NOTE