From 31cfb0bb21febc66ea7883e81da8dac10336aa30 Mon Sep 17 00:00:00 2001 From: John Kirkpatrick <133956382+Puzzled-Face@users.noreply.github.com> Date: Mon, 7 Oct 2024 09:16:25 +0100 Subject: [PATCH] Update R/Rules-methods.R Co-authored-by: Daniel Sabanes Bove --- R/Rules-methods.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/Rules-methods.R b/R/Rules-methods.R index 4459d12a8..8d54d8be3 100644 --- a/R/Rules-methods.R +++ b/R/Rules-methods.R @@ -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(