From 61fb0999c2b2cf8631d0d123c0a79510e768007c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ver=C3=ADssimo?= <211358+averissimo@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:21:10 +0100 Subject: [PATCH] Apply suggestions from @kartikeyakirar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: kartikeya kirar Signed-off-by: André Veríssimo <211358+averissimo@users.noreply.github.com> --- R/Queue.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/Queue.R b/R/Queue.R index 7e1f1977..67ccc7d3 100644 --- a/R/Queue.R +++ b/R/Queue.R @@ -7,6 +7,7 @@ #' #' Abstract data type that stores and returns any number of elements. #' +#' @details #' A `Queue` object stores all elements in a single vector, #' thus all data types can be stored, but silent coercion may occur. #' @@ -79,7 +80,7 @@ Queue <- R6::R6Class( # nolint #' @description #' Returns the number of elements in `Queue`. #' - #' @return Integer of length 1. + #' @return `integer(1)`. #' size = function() { length(self$get())