-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Function for specifying minimum R version #1619
Comments
You mean like I don't think this is off-label but don't quote me on that. @jennybc assuming this is kosher, we still warn about adding something to depends instead of imports, which doesn't apply to this case |
That would be helpful! I was unaware I could use |
Sorry, I made it sound like a proposal rather than a solution. That code works out of box & is what I do, for better or worse |
Yeah the |
Good to know! Thanks :) |
In light of the new check for R 4.1 incompatibilities in R-devel, it would be quite nice to have to a way to set the minimum version of R. I can never quite remember how to do it and come back to this issue every few months or so. |
Doesn't this solution still work? Or do you mean it's just hard to remember |
Just came across this myself and share the confusion. The proposed solution - treating R like an R package - has the feel of a hidden Konami Code. In terms of demand, I would think it would come up about as often as other one-off package development utilities, like Just my two cents, for whatever that's worth... |
I am presently writing a package utilizing the native pipe. As such, I would like to specify the minimum R version as 4.1. I was hoping to be able to do this via usethis as I do not know how to format this in a DESCRIPTION file.
I see that there is a tangential closed issue at #631. My suggestion, however, is not to infer it from
use_data()
but rather be something stated explicitly by the developer themselves. It could, however, be inferred that R v4.1+ is necessary when the native pipe is used.The text was updated successfully, but these errors were encountered: