Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Apr 28, 2024
1 parent a660c4a commit f9645e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -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")
}

0 comments on commit f9645e0

Please sign in to comment.