-
Notifications
You must be signed in to change notification settings - Fork 18
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
Update ghactions-core.yml #300
Conversation
Heads-up @pat-s the thinking here is that this will solve countless hours searching for system deps. Not sure I've implemented it in the best possible way but I think it should work out of the box now with packages that have external deps like sf. Belated solution to an issue I opened way back on the topic I think. Thanks for a great package! |
Thanks Robin. I am aware of this function since quite some time. It only queries the entrys of the root package via its DESCRIPTION file. It only works realiably on Linux and usually actions needs to be taken to also implement it on macOS. Next, many system libs requirements origin from package dependencies which won't be covered by this call. And finally adding this piece of code may suggest that system libs are taken care of by {tic} in all cases (which is not true) and hence may cause confusion. Let me know if I missed any pros/cons. |
Thanks for the reply, covers many of the cons. I think these could be outweighed by the pros if implemented sensibly:
The point about costs has affected me: partly because I see your point about confusion but given the fact that the whole CI process is confusing to newcomers, the extra burden of another line is seems negligible. But worth thinking about ways to mitigate the negatives. Some suggestions:
Thoughts? Happy to help out with the implementation of the idea if that would help and as I say don't see this PR as ready - just hoping to get a conversation going. Hoping words can lead to positive change (vested interest: I hope to use this functionality if it becomes available)! |
Yes, this is the reason we/I also use Linux builds in most places.
I certain cases this might apply yes - if the sysreqs are specified and/or cover all deps of their own R package deps.
An argument seems simple in the first place but might not be so simple with respect to implementation and clarity. In
Happy to include new features which are requested if they help people in practice. Also thanks for contributing and "fighting" for this feature despite my initial doubts ;) Would you mind updating your PR with some detailed comments? I might polish and add it to all other templates then (you can also do this if you want of course). |
Sure. Thanks for the constructive comments. Will add comments in place. Any idea how to make the checks pass? |
I've updated the PR in any case with comments. If there's a way to 'auto-uncomment' this from the R command line I'm in favour. |
I'm fine with having it on by default - I just meant to say that an descriptive comment above that block would be great for users to understand the limitations :)
There are checks which compare the templates before and after applying |
Many thanks for persevering with this @pat-s hope to use the results! |
Sorry for waiting so long 🙈 too many projects.. |
No description provided.