tests/testthat/_snaps/dplyr-funcs-datetime.md

as.Date() and as_date()

Code
  test_df %>% InMemoryDataset$create() %>% transmute(date_char_ymd = as.Date(
    character_ymd_var, tryFormats = c("%Y-%m-%d", "%Y/%m/%d"))) %>% collect()
Condition
  Error in `as.Date()`:
  ! `as.Date()` with multiple `tryFormats` not supported in Arrow
  > Consider using the lubridate specialised parsing functions `ymd()`, `ymd()`, etc.
  > Or, call collect() first to pull data into R.


Try the arrow package in your browser

Any scripts or data that you put into this service are public.

arrow documentation built on Sept. 11, 2024, 8:02 p.m.