Skip to content

Commit

Permalink
fixes the warning in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
rmflight committed Apr 8, 2024
1 parent 056f338 commit 29452ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ICIKendallTau
Title: Calculates information-content-informed Kendall-tau
Version: 1.0.4
Version: 1.0.5
Date: 2024-04-08
Authors@R: c(person(given = c("Robert", "M"), family = "Flight", role =
c("aut", "cre"), email = "rflight79@gmail.com", comment =
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-left_censorship.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test_that("test_left_censorship works", {
sample_indices = withr::with_seed(1234, sample(n_sample, n_miss, replace = TRUE))

zero_dataset = noisy_dataset
for (i_loc in seq_len(all_indices)) {
for (i_loc in seq_along(all_indices)) {
zero_dataset[all_indices[i_loc], sample_indices[i_loc]] = 0
}

Expand Down

0 comments on commit 29452ef

Please sign in to comment.