Skip to content

Commit a33d657

Browse files
Merge pull request #504 from yihui/fix-define_fail_rate
Assign the modified `df` back to `df` in `define_fail_rate()`
2 parents 33af554 + c67b4c2 commit a33d657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/define.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ define_fail_rate <- function(
125125
hr = hr
126126
)
127127

128-
check_fail_rate(df)
128+
df <- check_fail_rate(df)
129129

130130
class(df) <- c("fail_rate", class(df))
131131

0 commit comments

Comments
 (0)