Skip to content

Commit

Permalink
Merge pull request #300 from xoopR/fixskewtest
Browse files Browse the repository at this point in the history
Update assertions.R
  • Loading branch information
RaphaelS1 authored Feb 23, 2024
2 parents 1854b22 + 140f21d commit a96222a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/assertions.R
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ assertNegativeSkew <- function() {}

makeChecks(
assertionName = "NegativeSkew",
cond = skewType(object$skewness()) == "Negative Skew",
cond = skewType(object$skewness()) == "negative skew",
defaulterrormsg = paste(object$short_name, "is not negative skew"),
pos = environment()
)
Expand All @@ -345,7 +345,7 @@ assertPositiveSkew <- function() {}

makeChecks(
assertionName = "PositiveSkew",
cond = skewType(object$skewness()) == "Positive Skew",
cond = skewType(object$skewness()) == "positive skew",
defaulterrormsg = paste(object$short_name, "is not positive skew"),
pos = environment()
)
Expand Down Expand Up @@ -373,7 +373,7 @@ assertNoSkew <- function() {}

makeChecks(
assertionName = "NoSkew",
cond = skewType(object$skewness()) == "No Skew",
cond = skewType(object$skewness()) == "no skew",
defaulterrormsg = paste(object$short_name, "is not no skew"),
pos = environment()
)
Expand Down

0 comments on commit a96222a

Please sign in to comment.