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

Update complex tests #1883

Merged
merged 2 commits into from Oct 9, 2023
Merged

Conversation

DavisVaughan
Copy link
Member

@DavisVaughan DavisVaughan commented Oct 9, 2023

Needed because of changes in R-devel, where as.complex(NA/NA_real_/NA_integer_) now all return 0 in the Im() slot (since no logical/double/integer conversion to complex can ever make an imaginary value). This is used by rlang::cpl() and vec_coerce_bare(), the latter of which we should probably drop eventually in favor of our own custom conversion routines for complex, but not now

https://stat.ethz.ch/pipermail/r-devel/2023-September/082864.html
wch/r-source@1a2aea9

@DavisVaughan DavisVaughan merged commit 9552ebc into r-lib:main Oct 9, 2023
12 checks passed
@DavisVaughan DavisVaughan deleted the fix/complex-tests branch October 9, 2023 18:36
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.

None yet

1 participant