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

fix datetime to character conversion #495

Merged
merged 7 commits into from
Aug 9, 2023
Merged

fix datetime to character conversion #495

merged 7 commits into from
Aug 9, 2023

Conversation

palday
Copy link
Collaborator

@palday palday commented Jul 20, 2023

The as.character behavior seems to have been completely removed in R 4.3.

@palday palday mentioned this pull request Jul 20, 2023
@palday palday requested a review from ararslan July 20, 2023 08:48
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Patch coverage has no change and project coverage change: -1.70% ⚠️

Comparison is base (2df5ef8) 76.86% compared to head (0793c52) 75.16%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #495      +/-   ##
==========================================
- Coverage   76.86%   75.16%   -1.70%     
==========================================
  Files          25       25              
  Lines        1664     1623      -41     
==========================================
- Hits         1279     1220      -59     
- Misses        385      403      +18     
Files Changed Coverage Δ
src/convert/default.jl 91.33% <ø> (ø)
src/ijulia.jl 0.00% <ø> (ø)
src/language.jl 95.00% <ø> (ø)
src/methods.jl 68.16% <ø> (-0.35%) ⬇️
src/render.jl 87.14% <ø> (-1.43%) ⬇️
src/types.jl 80.48% <ø> (ø)

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@palday
Copy link
Collaborator Author

palday commented Jul 20, 2023

🤔 The failed test might be a bug in Julia 1.9.2. I don't have a Windows machine handy to bisect.

@ararslan
Copy link
Member

I'd recommend opening an issue on the Julia repo with the contents of the CI log (as requested by the error message 😄), I'm sure someone will be able to identify what's going on.

@ararslan
Copy link
Member

The as.character behavior seems to have been completely removed in R 4.3.

Admittedly I don't really know how this package works so apologies for the naive question but do your changes work across R versions including 4.3 or do they require 4.3 at a minimum (or otherwise some minimum version different than whatever it currently is)?

@palday
Copy link
Collaborator Author

palday commented Jul 20, 2023

The as.character behavior seems to have been completely removed in R 4.3.

Admittedly I don't really know how this package works so apologies for the naive question but do your changes work across R versions including 4.3 or do they require 4.3 at a minimum (or otherwise some minimum version different than whatever it currently is)?

@ararslan They should work across R 4.x versions and maybe earlier, but I would have to go back to find which version introduced format. Also, this is "only" in tests, not in the actual package code.

@ararslan
Copy link
Member

I assume then tests are guaranteed to be running R 4.x?

@palday
Copy link
Collaborator Author

palday commented Jul 20, 2023

they run on R latest so yes

@palday
Copy link
Collaborator Author

palday commented Aug 9, 2023

@ararslan I've updated the CI to run against R 3.4 (minimum supported version from deps/setup.jl, 4.0 and the current release). So that should answer the question about whether this impacts the R compat bounds. 😎

@palday palday merged commit 305efff into master Aug 9, 2023
13 of 15 checks passed
@palday palday deleted the pa/datetime_format branch August 9, 2023 19:44
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.

2 participants