-
Notifications
You must be signed in to change notification settings - Fork 126
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
Check Dependencies #1028
Check Dependencies #1028
Conversation
Hi, thanks, I have a couple of questions.
Cheers Mika |
|
Yes. No need to ask in the REMIND meeting, that will just devolve into 15 minutes of pointless discussion.
I think
I can implement that, but didn't want to just start fiddling with it. Is there any code dependent on |
Sounds good, feel free to go ahead and implement that. |
Sounds good. Maybe add |
Cool, will do that. |
Can you put that into a feature request? This will require |
We'll do this via start scripts instead, see #1030 |
Purpose of this PR
With this PR, dependency version requirements from DESCRIPTION are checked at the beginning of each R session via
lucode2::checkDeps()
in.Rprofile
. If an installed package version is older than the required version there is a warning and instructions to update.Sidenote: I re-added the
Package: remindmodel
line to DESCRIPTION, because some tools (e.g.pak
) require this line to actually use the DESCRIPTION.Type of change
(Make sure to delete from the Type-of-change list the items not relevant to your PR)
Checklist: