From 4988d08bfe5425a9140aea943d79bf3026fdc70e Mon Sep 17 00:00:00 2001 From: Hyukjin Kwon Date: Fri, 26 Dec 2025 10:56:19 +0900 Subject: [PATCH] [R] Document FixedWidthType --- r/R/type.R | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/r/R/type.R b/r/R/type.R index 8cd2d324a7f..27105b6ebd6 100644 --- a/r/R/type.R +++ b/r/R/type.R @@ -146,13 +146,23 @@ infer_type.Expression <- function(x, ...) x$type() #' @title FixedWidthType class #' +#' @description +#' `FixedWidthType` is a base class for data types with a fixed width in bits. +#' This includes all integer types, floating-point types, `Boolean`, +#' `FixedSizeBinary`, temporal types (dates, times, timestamps, durations), +#' and decimal types. +#' #' @usage NULL #' @format NULL #' @docType class #' -#' @section Methods: +#' @section R6 Methods: +#' +#' `FixedWidthType` inherits from [DataType], so it has the same methods. +#' +#' @section Active bindings: #' -#' TODO +#' - `$bit_width`: The width of the type in bits #' #' @rdname FixedWidthType #' @name FixedWidthType