diff --git a/NEWS.md b/NEWS.md index c1f8ce9..cd64587 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,9 @@ # Microsoft365R 2.4.0.9000 +## OneDrive/SharePoint + +- In the `ms_drive_item$load_dataframe()` method, pass the `...` argument to `read_delim`. + ## Planner - Fix a bug in the `ms_plan$get_details()` method. diff --git a/R/ms_drive_item.R b/R/ms_drive_item.R index efb09cc..bd363eb 100644 --- a/R/ms_drive_item.R +++ b/R/ms_drive_item.R @@ -430,7 +430,7 @@ public=list( { con <- rawConnection(dat, "r") on.exit(try(close(con), silent=TRUE)) - readr::read_delim(con, delim=delim) + readr::read_delim(con, delim=delim, ...) } else utils::read.delim(text=rawToChar(dat), sep=delim, ...) },