thisisnic commented on code in PR #13070:
URL: https://github.com/apache/arrow/pull/13070#discussion_r912905116
##########
r/R/dplyr-datetime-helpers.R:
##########
@@ -105,7 +105,12 @@ binding_as_date <- function(x,
tryFormats = "%Y-%m-%d",
origin = "1970-01-01") {
if (is.null(format) && length(tryFormats) > 1) {
- abort("`as.Date()` with multiple `tryFormats` is not supported in Arrow")
+ abort(
+ paste(
+ "`as.Date()` with multiple `tryFormats` is not supported in Arrow,",
+ "consider using the specialised parsing functions"
Review Comment:
I think the message might also need not to specify `as.Date()` as it is
raised in the body of a function we use from both the bindings for `as.Date`
and `lubridate::as_date()`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]