Last updated on 2025-11-03 00:50:05 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags | 
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.0 | 14.61 | 136.51 | 151.12 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.0 | 9.82 | 93.71 | 103.53 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.0 | 34.00 | 194.43 | 228.43 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 30.00 | 203.11 | 233.11 | OK | |
| r-devel-windows-x86_64 | 0.1.0 | 16.00 | 124.00 | 140.00 | OK | |
| r-patched-linux-x86_64 | 0.1.0 | 14.91 | 125.51 | 140.42 | OK | |
| r-release-linux-x86_64 | 0.1.0 | 15.10 | 125.21 | 140.31 | ERROR | |
| r-release-macos-arm64 | 0.1.0 | 6.00 | 79.00 | 85.00 | OK | |
| r-release-macos-x86_64 | 0.1.0 | 12.00 | 102.00 | 114.00 | OK | |
| r-release-windows-x86_64 | 0.1.0 | 16.00 | 122.00 | 138.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.0 | 6.00 | 39.00 | 45.00 | OK | |
| r-oldrel-macos-x86_64 | 0.1.0 | 9.00 | 83.00 | 92.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.0 | 22.00 | 165.00 | 187.00 | OK | 
Version: 0.1.0
Check: tests
Result: ERROR
    Running ‘testthat.R’ [7s/9s]
  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(KMEANS.KNN)
    > 
    > test_check("KMEANS.KNN")
    [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-KMEANS_FUNCTION.R:11:3'): KMEANS_FUNCTION works ────────────────
    Error in `apply(centers, 1, function(center) distance(point, center))`: dim(X) must have a positive length
    Backtrace:
        ▆
     1. └─KMEANS.KNN::KMEANS_FUNCTION(...) at test-KMEANS_FUNCTION.R:11:3
     2.   └─base::apply(...)
     3.     └─KMEANS.KNN (local) FUN(newX[, i], ...)
     4.       └─base::apply(centers, 1, function(center) distance(point, center))
    
    [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ]
    Error: Test failures
    Execution halted
Flavor: r-release-linux-x86_64