Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions r/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ Imports:
rlang,
purrr,
assertthat,
glue,
R6,
vctrs (>= 0.1.0),
fs,
crayon,
bit64
Roxygen: list(markdown = TRUE)
RoxygenNote: 6.1.1
Expand All @@ -43,6 +40,7 @@ Suggests:
roxygen2,
testthat,
lubridate,
vctrs,
hms
Collate:
'enums.R'
Expand Down
1 change: 0 additions & 1 deletion r/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ importFrom(Rcpp,sourceCpp)
importFrom(assertthat,assert_that)
importFrom(bit64,print.integer64)
importFrom(bit64,str.integer64)
importFrom(glue,glue)
importFrom(purrr,map)
importFrom(purrr,map2)
importFrom(purrr,map_int)
Expand Down
2 changes: 1 addition & 1 deletion r/R/R6.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
self$`.:xp:.` <- xp
},
print = function(...){
cat(crayon::silver(glue::glue("{cl}", cl = class(self)[[1]])), "\n")
cat(class(self)[[1]], "\n")
if(!is.null(self$ToString)){
cat(self$ToString(), "\n")
}
Expand Down
2 changes: 1 addition & 1 deletion r/R/RecordBatch.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
#' @return a [arrow::RecordBatch][arrow__RecordBatch]
#' @export
record_batch <- function(..., schema = NULL){
arrays <- tibble::lst(...)
arrays <- list2(...)
stopifnot(length(arrays) > 0)
shared_ptr(`arrow::RecordBatch`, RecordBatch__from_arrays(schema, arrays))
}
2 changes: 1 addition & 1 deletion r/R/Table.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#'
#' @export
table <- function(..., schema = NULL){
dots <- tibble::lst(...)
dots <- list2(...)
stopifnot(length(dots) > 0)
shared_ptr(`arrow::Table`, Table__from_dots(dots, schema))
}
Expand Down
1 change: 0 additions & 1 deletion r/R/arrow-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# under the License.

#' @importFrom R6 R6Class
#' @importFrom glue glue
#' @importFrom purrr map map_int map2
#' @importFrom assertthat assert_that
#' @importFrom rlang list2 %||% is_false abort dots_n warn
Expand Down
4 changes: 2 additions & 2 deletions r/R/read_table.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#' @return
#'
#' - `read_table` returns an [arrow::Table][arrow__Table]
#' - `read_arrow` returns a [tibble::tibble()]
#' - `read_arrow` returns a `data.frame`
#'
#' @details
#'
Expand Down Expand Up @@ -84,5 +84,5 @@ read_table.fs_path <- function(stream) {
#' @rdname read_table
#' @export
read_arrow <- function(stream){
as_tibble(read_table(stream))
as.data.frame(read_table(stream))
}
2 changes: 1 addition & 1 deletion r/man/read_table.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.