Skip to content

Commit

Permalink
Fix #340
Browse files Browse the repository at this point in the history
  • Loading branch information
chainsawriot committed Sep 6, 2023
1 parent 37fa081 commit 1d04c77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/export_methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ export_delim <- function(file, x, fwrite = TRUE, sep = "\t", row.names = FALSE,

#' @export
.export.rio_feather <- function(file, x, ...) {
.check_pkg_availability("feather")
feather::write_feather(x = x, path = file, ...)
.check_pkg_availability("arrow")
arrow::write_feather(x = x, sink = file, ...)
}

#' @export
Expand Down
2 changes: 1 addition & 1 deletion R/import_methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ import_delim <-
#' @export
.import.rio_feather <- function(file, which = 1, ...) {
.check_pkg_availability("feather")
feather::read_feather(path = file)
arrow::read_feather(file = file, ...)
}

#' @export
Expand Down

0 comments on commit 1d04c77

Please sign in to comment.