Skip to content

[R] Improve as.Date() error message when supplying several tryFormats #31245

Closed

Description

@asfimport

We could use coalesce() to cycle through several {}formats{}. However this would not get us a behaviour identical to base R. For more on this see Jon's comment in the umbrella / parent issue. 

I improved the error message and the behaviour with remain the same. Users will not be able to supply more formats to {}tryFormats{}, but they will be advised to try the specialised parsing functions when they do so.

Reporter: Dragoș Moldovan-Grünfeld / @dragosmg
Assignee: Dragoș Moldovan-Grünfeld / @dragosmg

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-15804. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Jul 5, 2022

    @asfimport
    Author

    Nicola Crane / @thisisnic:
    Issue resolved by pull request 13070
    #13070

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions