Skip to content

Commit

Permalink
disable BigKnn tests
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax authored May 31, 2024
1 parent d402935 commit 3827075
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-KNN.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@


test_that('KNN fit works', {
skip_on_ci()
modelSettings = setKNN(k = 2)
nanoTrainData <- reduceTrainData(tinyTrainData, n = 2)
subjectToKeep <- nanoTrainData$labels[sample.int(nrow(nanoTrainData$labels), 50),"rowId"]
Expand All @@ -20,7 +21,7 @@ test_that('KNN fit works', {


test_that("KNN settings", {

skip_on_ci()
model_set <- setKNN(k=5)
testthat::expect_is(model_set, "modelSettings")
testthat::expect_length(model_set,2)
Expand Down

0 comments on commit 3827075

Please sign in to comment.