Skip to content

Commit

Permalink
lintr
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jul 23, 2024
1 parent 6866a06 commit d265c99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-robust.R
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ skip_if_not_installed("lme4")
test_that("robust-se lmer", {
data(iris)
set.seed(1234)
iris$grp <- as.factor(sample(1:3, nrow(iris), replace = TRUE))
iris$grp <- as.factor(sample.int(3, nrow(iris), replace = TRUE))

m <- lme4::lmer(
Sepal.Length ~ Species * Sepal.Width + Petal.Length + (1 | grp),
Expand All @@ -368,7 +368,7 @@ test_that("robust-se lmer", {
test_that("robust-p lmer", {
data(iris)
set.seed(1234)
iris$grp <- as.factor(sample(1:3, nrow(iris), replace = TRUE))
iris$grp <- as.factor(sample.int(3, nrow(iris), replace = TRUE))

m <- lme4::lmer(
Sepal.Length ~ Species * Sepal.Width + Petal.Length + (1 | grp),
Expand All @@ -385,7 +385,7 @@ test_that("robust-p lmer", {
test_that("robust-ci lmer", {
data(iris)
set.seed(1234)
iris$grp <- as.factor(sample(1:3, nrow(iris), replace = TRUE))
iris$grp <- as.factor(sample.int(3, nrow(iris), replace = TRUE))

m <- lme4::lmer(
Sepal.Length ~ Species * Sepal.Width + Petal.Length + (1 | grp),
Expand Down

0 comments on commit d265c99

Please sign in to comment.