-
Notifications
You must be signed in to change notification settings - Fork 24
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
Redefine R-devel's Rcomplex
#156
Conversation
that can instantiate `Rcomplex` for us.
…l_r_complex_fix
/bindings |
/bindings |
@yutannihilation do you know how I could solve this? I need the generated bindings before this can pass ci. |
I can't see what's happening here... Do you mean you can generate bindings on your local? I guess you have to add |
If I run |
/bindings |
Then, I have no idea. I might have time to look into at night, sorry. |
Yeah no problem. I wouldn't ask for more. Thanks for attempting to solve it quickly. |
Sorry, now I understand what you meant. I think the current CI setup is wrong. This says "Run tests on precomputed bindings shipped with libR-sys," but I guess the intent of this is to test against the new bindings generated on the previous step. This is probably my mistake when I tweaked the settings to upload the bindings as artifacts. libR-sys/.github/workflows/test.yml Lines 247 to 260 in df48d39
|
Repurposing this pull-request. @Ilia-Kosenkov suggested a replacement in the wrapper. On my end, it looks like it works. Thus I'll push that. Hopefully CI will be sorted and this can be reviewed+merged soon. |
3f43004
to
e6567b8
Compare
/bindings |
CI passes because now we aren't really requiring much from it. The changes @yutannihilation mentioned still need to happen. This works on ExtendR locally, but it needs to be merged for us to know. I could add tests to this. They should atleast include an array test for this. |
Rcomplex
from R-devel.Rcomplex
to check test on CI
/bindings |
/bindings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. The conflicts are due to the new version of R-devel, so just accept whatever changes your PR introduces over existing files.
Oh, oldrel is already switched to R 4.2, which means it will never pass until we update the CI setting. You can ignore the CI failure for now. |
I'd like to regenerate the bindings on master to slide the version, so let me merge this before that. |
Instead of fighting everything, we can just provide functions that help us manipulate
Rcomplex
through C99 / C11.Depends on: