-
Notifications
You must be signed in to change notification settings - Fork 26
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
Does using extendr
affect the minimal supported R version?
#375
Comments
extendr
affect the minimal R version supported?extendr
affect the minimal supported R version?
So I think we have a feature gate for this, so it should work for older versions of R. In theory. Something could have slipped up. I believe we only don't support the R version that still had 32-bit support, because that's too much for us to handle. But that's an unofficial policy that I'm just speaking of here. There could be a bug, I'm unsure :( I don't have time to investigate unfortunately. But if you do try to investigate it, I'm sure you'd find a bug somewhere.. I have feature flags in extendr for this. |
I also don't have time to search for this, especially since I'm not familiar at all with the codebase, but I think a message when initializing |
Related: extendr/extendr#664 |
You might be able to get away by referencing older versions of Line 40 in c4f5b0c
We provide support for current, oldrel and devel versions of R (current, previous and future minor versions). You might also be able to use latest extendr with |
I think having a document referencing the versions of R that are supported in each version of
I just put some random R versions here.
If you don't want to have this kind of table and only provide support for current, oldrel-1, and devel, then I think this should be reflected in the Another alternative would be to have features for each R version, so that one can have: extendr-api = { version = "0.7.0", features = ["R-4.1"], optional = true } (but I don't know if this is hard to implement). Currently, it's impossible to know which of the features blocks some versions of R. I have no idea which approach is the best in this case. |
Related to etiennebacher/astgrepr#28
Compiling
astgrepr
from source fails on R 4.0.3 with this error:I suppose this is because
extendr
takes advantage of new features in R, so compiling from source won't work for older versions of R. But does this mean users on R 4.0 won't be able to install the binary as well?More generally, does using
extendr
affect the minimal R version supported? If so, this should be documented somewhere but I didn't find anything on this.The text was updated successfully, but these errors were encountered: