-
Notifications
You must be signed in to change notification settings - Fork 21
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
minimum supported R version 3.5 or 4.1 #389
Comments
I think the idea is that's "legal" syntax in the vignettes (which people can run elsewhere, or downgrade manually), while the package only actually requires the specified version to run. |
Thanks for flagging @medewitt - this is a good point. I think from a technical sense what @pearsonca is saying is definitely true but also think we want to be presenting as consistent an experience as possible. Personally, I would be very happy increasing the dependency to |
Makes sense @pearsonca . It looks like the only non-vignette use is in It might just be a nitpick and really a non-issue? |
If the >3.5 syntax is used outside vignettes (or other build/test infrastructure, etc), including documentation examples, that is an issue (for now - also on board with ratchetting up required R version). In the vignette, I'm less fussed about it - indeed, I prefer the 4+ syntax there: its just better and we should normalize/encourage its use. I suppose we might footnote some caveats about using the 4+ syntax in the vignettes. |
Describe the bug
Current source code (e.g., here) uses some of the new syntax (
|>
in the vignettes,\(x, y)
lambda functions) in R not available until 4.1.0. Currently, the minimum version supported in the package description is 3.5.To Reproduce
See source code.
Expected behavior
Ideally source and DESCRIPTION are consistent.
Screenshots
N/A
Desktop (please complete the following information):
All
Smartphone (please complete the following information):
N/A
Additional context
I just wanted to bring attention to this. Maybe everyone has upgraded to R >= 4.1.0 and this isn't an issue (and we bump the R version in the DESCRIPTION).
Some old academic servers and clusters might still be running R 3.6.x (this was case with CentOS server I previously ran), so could choke on the new requirements. Either way I think DESCRIPTION and the functions used need to be consistent.
The text was updated successfully, but these errors were encountered: