Skip to content

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
@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.

1 participant