From f9645e0ab7e3628907387f40ddd9e17cb0c1e945 Mon Sep 17 00:00:00 2001 From: Hugo Gruson <10783929+Bisaloo@users.noreply.github.com> Date: Sun, 28 Apr 2024 08:33:50 +0200 Subject: [PATCH] Fix lint --- tests/testthat.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat.R b/tests/testthat.R index 1faf6a7..7819408 100644 --- a/tests/testthat.R +++ b/tests/testthat.R @@ -1,8 +1,8 @@ library(testthat) library(linelist) -test_results <- as.data.frame(test_check("linelist")) +test_df <- as.data.frame(test_check("linelist")) -if (any(test_results$warning > 0) && !identical(Sys.getenv("NOT_CRAN"), "TRUE")) { +if (any(test_df$warning > 0) && !identical(Sys.getenv("NOT_CRAN"), "TRUE")) { stop("tests failed with warnings") }