From 90bf77f5cd83bb6d001fecf25436462963741fae Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 29 Nov 2023 21:20:21 +0100 Subject: [PATCH] lintr --- tests/testthat/test-binned_residuals.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-binned_residuals.R b/tests/testthat/test-binned_residuals.R index 174156cd5..7b966797e 100644 --- a/tests/testthat/test-binned_residuals.R +++ b/tests/testthat/test-binned_residuals.R @@ -164,7 +164,7 @@ test_that("binned_residuals, msg for non-bernoulli", { dat <- data.frame(tot, suc) dat$prop <- suc / tot - dat$x1 <- as.factor(sample(1:5, 100, replace = TRUE)) + dat$x1 <- as.factor(sample.int(5, 100, replace = TRUE)) mod <- glm(prop ~ x1, family = binomial,