Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #3533 - Swap date(time) types in opposite scale #6042

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

laurabrianna
Copy link

In both scale_*date and scale*datetime, added helpful error to suggest using the other type when appropriate ( #3533 )

@thomasp85
Copy link
Member

Thank you for this. On closer inspection I think that we should coerce the data into the right format rather than throw an error

R/scale-date.R Outdated Show resolved Hide resolved
R/scale-date.R Outdated Show resolved Hide resolved
Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

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

@teunbrand would you look into finishing this off?

@teunbrand teunbrand self-assigned this Nov 11, 2024
@teunbrand teunbrand changed the title Fixes #3533 - helpful error msg on date vs datetime scale Fixes #3533 - Swap date(time) types in opposite scale Nov 11, 2024
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.

3 participants