Skip to content

Conversation

@DavisVaughan
Copy link
Member

Closes #168

Not currently passing the error call through to C yet, as that is currently too much work for what it would be worth. I think most of the main error paths have been improved anyways

Comment on lines +9 to +10
! `.i` has an incorrect size.
x It must have size 1, not 2.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
! `.i` has an incorrect size.
x It must have size 1, not 2.
! `.i` must be size 1, not 2.

Comment on lines +20 to +21
! `.i` must be in ascending order.
i It is not ascending at locations: 2.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
! `.i` must be in ascending order.
i It is not ascending at locations: 2.
i In location: 2.
! `.i` must be in ascending order.

Comment on lines +70 to +71
! `.i` cannot be `NA`.
i It is `NA` at locations: 2.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
! `.i` cannot be `NA`.
i It is `NA` at locations: 2.
i In location: 2.
! `.i` cannot be `NA`.

Comment on lines +29 to +30
! `i` has an incorrect type.
x It must inherit from Date, POSIXct, or POSIXlt, not numeric.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
! `i` has an incorrect type.
x It must inherit from Date, POSIXct, or POSIXlt, not numeric.
! `i` must inherit from Date, POSIXct, or POSIXlt, not numeric.

@DavisVaughan
Copy link
Member Author

Tracking improvements to error messages in general in #188

@DavisVaughan DavisVaughan merged commit dccf974 into main Nov 15, 2022
@DavisVaughan DavisVaughan deleted the feature/calls branch November 15, 2022 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pass the error call through to abort() and vctrs functions

2 participants