Skip to content

Commit

Permalink
Don't run problematic line
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisnic committed May 20, 2021
1 parent 0c2c537 commit 6db587d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions r/R/dataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@
#' ## You must specify the file format if using a format other than parquet.
#' write_csv_arrow(mtcars[1:10,], file.path(tf, "file1.csv"))
#' write_csv_arrow(mtcars[11:20,], file.path(tf, "file2.csv"))
#' # This line will run but later result in errors when you try to work with the data
#' open_dataset(c(file.path(tf, "file1.csv"), file.path(tf, "file2.csv")))
#' # This line will results in errors when you try to work with the data
#' \dontrun{open_dataset(c(file.path(tf, "file1.csv"), file.path(tf, "file2.csv")))}
#' # This is the correct way to open a dataset containing CSVs
#' open_dataset(c(file.path(tf, "file1.csv"), file.path(tf, "file2.csv")), format = "csv")
#' open_dataset(c(file.path(tf, "file1.csv"), file.path(tf, "file2.csv")), format = "csv")
open_dataset <- function(sources,
schema = NULL,
partitioning = hive_partition(),
Expand Down
7 changes: 5 additions & 2 deletions r/man/open_dataset.Rd

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

0 comments on commit 6db587d

Please sign in to comment.