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

BUG: New R version breaks compatibility with r-juliacall. UndefVarError: jtypExtPtrs not defined #548

Closed
schlichtanders opened this issue Sep 9, 2024 · 3 comments · Fixed by #549

Comments

@schlichtanders
Copy link

schlichtanders commented Sep 9, 2024

Hi there,

this really hit me. The new RCall.jl version is 1 hour old, but just got included in my setup. I am using RCall and R's juliacall together, however the new RCall version is incompatible...

It gives the following error

UndefVarError: `jtypExtPtrs` not defined

when running juliacall inside RCall.jl. Juliacall assumes that this variable exists https://github.com/search?q=repo%3ANon-Contradiction%2FJuliaCall%20jtypExtPtrs&type=code, while RCall apparently dropped it.

I guess such version compatibilities are a hard thing in general, no clue what a good solution could look like here. Like rolling support for a window of old and new versions?

@palday
Copy link
Collaborator

palday commented Sep 9, 2024

I've added in a compatibility shim in #549, but this was an internal field so it's not subject to SemVer rules. 😉

@schlichtanders
Copy link
Author

Thank you so much. I was thinking that r-juliacall and RCall are somehow tied together, but probably this is not the case.
Thank you for your backwards support with deprecation!

@palday
Copy link
Collaborator

palday commented Sep 9, 2024

Nope, JuliaCall is developed independently and I don't have the ability to update it. ☹️

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 a pull request may close this issue.

2 participants