CRAN Package Check Results for Package KMEANS.KNN

Last updated on 2024-12-19 23:50:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 12.69 118.23 130.92 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 10.21 83.92 94.13 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 220.65 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 232.29 OK
r-devel-windows-x86_64 0.1.0 14.00 115.00 129.00 ERROR
r-patched-linux-x86_64 0.1.0 13.44 110.89 124.33 OK
r-release-linux-x86_64 0.1.0 11.97 110.80 122.77 OK
r-release-macos-arm64 0.1.0 45.00 OK
r-release-macos-x86_64 0.1.0 92.00 OK
r-release-windows-x86_64 0.1.0 15.00 121.00 136.00 OK
r-oldrel-macos-arm64 0.1.0 59.00 OK
r-oldrel-macos-x86_64 0.1.0 103.00 OK
r-oldrel-windows-x86_64 0.1.0 19.00 149.00 168.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR Running 'testthat.R' [5s] 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 `new_centers[j, ] <- colMeans(cluster_points, na.rm = TRUE)`: incorrect number of subscripts on matrix Backtrace: ▆ 1. └─KMEANS.KNN::KMEANS_FUNCTION(...) at test-KMEANS_FUNCTION.R:11:3 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64