You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ro...@apache.org on 2019/06/12 15:04:17 UTC

[arrow] branch master updated: ARROW-5574: [R] documentation error for read_arrow()

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 24c42f7  ARROW-5574: [R] documentation error for read_arrow()
24c42f7 is described below

commit 24c42f71e219614b08becb8f635aeeb2d2a4ddc1
Author: Romain Francois <ro...@rstudio.com>
AuthorDate: Wed Jun 12 17:04:02 2019 +0200

    ARROW-5574: [R] documentation error for read_arrow()
    
    @wesm this should fix the current R related issues on travis. I'll merge once travis gives the ✅
    
    Author: Romain Francois <ro...@rstudio.com>
    
    Closes #4530 from romainfrancois/ARROW-5574/read_arrow_doc_error and squashes the following commits:
    
    cd83b1da <Romain Francois> use_threads= argument of read_arrow() is obsolete
---
 r/DESCRIPTION            | 2 +-
 r/R/read_table.R         | 4 ++--
 r/man/arrow_available.Rd | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/r/DESCRIPTION b/r/DESCRIPTION
index f38f0de..103a63b 100644
--- a/r/DESCRIPTION
+++ b/r/DESCRIPTION
@@ -59,8 +59,8 @@ Collate:
     'Struct.R'
     'Table.R'
     'array.R'
-    'arrowExports.R'
     'arrow-package.R'
+    'arrowExports.R'
     'buffer.R'
     'io.R'
     'compression.R'
diff --git a/r/R/read_table.R b/r/R/read_table.R
index d5122a8..57ef5ec 100644
--- a/r/R/read_table.R
+++ b/r/R/read_table.R
@@ -83,6 +83,6 @@ read_table.fs_path <- function(stream) {
 
 #' @rdname read_table
 #' @export
-read_arrow <- function(stream, use_threads = TRUE){
-  as.data.frame(read_table(stream))
+read_arrow <- function(stream){
+  as_tibble(read_table(stream))
 }
diff --git a/r/man/arrow_available.Rd b/r/man/arrow_available.Rd
index af0f938..26a01ca 100644
--- a/r/man/arrow_available.Rd
+++ b/r/man/arrow_available.Rd
@@ -1,5 +1,5 @@
 % Generated by roxygen2: do not edit by hand
-% Please edit documentation in R/zzz.R
+% Please edit documentation in R/arrow-package.R
 \name{arrow_available}
 \alias{arrow_available}
 \title{Is the C++ Arrow library available}