From e7a375d95b5d3620ebdcef3c84111bcb9e3dfc67 Mon Sep 17 00:00:00 2001 From: SHIMA Tatsuya Date: Mon, 22 Aug 2022 22:28:54 +0000 Subject: [PATCH] use roxygen2 tags for title, description, details Signed-off-by: SHIMA Tatsuya --- r/R/type.R | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/r/R/type.R b/r/R/type.R index a2511c8cf9d61..6b22bbcfc7ea4 100644 --- a/r/R/type.R +++ b/r/R/type.R @@ -56,11 +56,9 @@ DataType$import_from_c <- ImportType INTEGER_TYPES <- as.character(outer(c("uint", "int"), c(8, 16, 32, 64), paste0)) FLOAT_TYPES <- c("float16", "float32", "float64", "halffloat", "float", "double") -#' Infer Arrow type -#' -#' Infer the Arrow Array type from an R object. -#' -#' [type()] is deprecated in favor of [infer_type()]. +#' @title Infer Arrow type +#' @description Infer the Arrow Array type from an R object. +#' @details [type()] is deprecated in favor of [infer_type()]. #' #' @param x an R object (usually a vector) to be converted to an [Array] or #' [ChunkedArray].