Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
#7

I forgot to invert test 😜
  • Loading branch information
SanderDevisscher committed Apr 30, 2024
1 parent fd41321 commit 16c6325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
#' 0 = object doesn't exist in environment


check <- function(x){tryCatch(if(is.logical(class(x))) 1 else 1, error=function(e) 0)}
check <- function(x){tryCatch(if(!is.logical(class(x))) 1 else 1, error=function(e) 0)}

Check warning on line 15 in R/check.R

View check run for this annotation

Codecov / codecov/patch

R/check.R#L15

Added line #L15 was not covered by tests

0 comments on commit 16c6325

Please sign in to comment.