-
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
About add_package_checks() #74
Comments
Interesting. I thought most users could just use The |
This is the big advantage of it, yes. I definitely see the point. But I also see the potential to cause confusion. If users want to change something in the default, they have to define all single steps and stages on their own taking care of not duplicating stuff. Or leaving Even if we take care of the duplication problem, it will cause confusion which step of Maybe it would be good to have some other views on it; @maelle maybe? |
We need to communicate that users should use either use |
It could be like |
Need to think about it a bit. I like the idea of check templates, which consist of adding one or more steps added to one or more stages. Let's break down |
The This function adds value, though: the user doesn't need to think about which stage(s) to add the step(s) to. I think the way forward here is to provide an |
What about |
|
A step involving |
As discussed today: |
The function is pretty magical as it does a lot of stuff in the background.
For non-experienced users it might lead to confusion whats going on actually.
Combined with the possible danger of specifying steps twice #68 (comment), one option would be to omit this function and explicitly place all its steps in the template?
If not, we should probably warn in
prepare_all_stages
if certain steps (e.g. build_pkgdown, codecov, update_packages) are defined multiple times?The text was updated successfully, but these errors were encountered: