Skip to content

Commit

Permalink
Update R/Rules-methods.R
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Sabanes Bove <danielinteractive@users.noreply.github.com>
  • Loading branch information
Puzzled-Face and danielinteractive authored Oct 7, 2024
1 parent 417c9a5 commit 31cfb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/Rules-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -1746,7 +1746,7 @@ setMethod(
definition = function(increments, data, model, samples, ...) {
assert_class(samples, "Samples")
assert_true(length(increments@prob) == length(data@yCategories) - 1)
nm <- tail(names(data@yCategories), -1)
nm <- utils::tail(names(data@yCategories), -1)
assert_set_equal(names(increments@prob), nm)

probs <- dplyr::bind_rows(
Expand Down

0 comments on commit 31cfb0b

Please sign in to comment.