You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by th...@apache.org on 2023/06/23 13:09:27 UTC

[arrow] branch main updated: GH-36259: [R] Docs for as_schema description incorrect (#36260)

This is an automated email from the ASF dual-hosted git repository.

thisisnic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new cc2d5f4fe6 GH-36259: [R] Docs for as_schema description incorrect  (#36260)
cc2d5f4fe6 is described below

commit cc2d5f4fe63149727c24eaecaccc20afe88de3de
Author: Nic Crane <th...@gmail.com>
AuthorDate: Fri Jun 23 14:09:20 2023 +0100

    GH-36259: [R] Docs for as_schema description incorrect  (#36260)
    
    Fixes #36259
    * Closes: #36259
    
    Authored-by: Nic Crane <th...@gmail.com>
    Signed-off-by: Nic Crane <th...@gmail.com>
---
 r/R/schema.R       | 2 +-
 r/man/as_schema.Rd | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/r/R/schema.R b/r/R/schema.R
index c7bc8accb6..70e53f6b6c 100644
--- a/r/R/schema.R
+++ b/r/R/schema.R
@@ -426,7 +426,7 @@ print.arrow_r_metadata <- function(x, ...) {
   invisible(x)
 }
 
-#' Convert an object to an Arrow DataType
+#' Convert an object to an Arrow Schema
 #'
 #' @param x An object to convert to a [schema()]
 #' @param ... Passed to S3 methods.
diff --git a/r/man/as_schema.Rd b/r/man/as_schema.Rd
index 9a760baa2f..76909867d3 100644
--- a/r/man/as_schema.Rd
+++ b/r/man/as_schema.Rd
@@ -4,7 +4,7 @@
 \alias{as_schema}
 \alias{as_schema.Schema}
 \alias{as_schema.StructType}
-\title{Convert an object to an Arrow DataType}
+\title{Convert an object to an Arrow Schema}
 \usage{
 as_schema(x, ...)
 
@@ -21,7 +21,7 @@ as_schema(x, ...)
 A \link{Schema} object.
 }
 \description{
-Convert an object to an Arrow DataType
+Convert an object to an Arrow Schema
 }
 \examples{
 as_schema(schema(col1 = int32()))