-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add more documentation #67
Conversation
…_metadata check details. More info.
…lidations vignette
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I note that some actions can be turned off when PRs are coming in to clones of the repo. Is this something that we can/should discuss in one of the articles briefly, maybe validate-pr? Noting that I filed a relevant issue over here.
- The validate-pr vignette seems good as is, and I think is acceptable. That said, I do think that having some additional content about what the output actually looks like ON GITHUB would be a valuable addition to the vignette. It feels very abstract and "command-line centric" right now, when the advantage of having this set-up is so that we can take advantage of all the nice GUI stuff that comes along with having it run on GitHub Actions. And for a reader who is looking for something about "what will this look like for a modeler end-user" I think this vignette doesn't quite answer that currently. Noting that I think we could merge this PR as is and file a new issue to update the vignette with more of these details/images/links to failing or passing PRs etc...
- Is there documentation somewhere for developers that makes it clear that if new canonical validations are added to this package that they should also be added to
check_table.csv
?
…netlify-preview Test Pkgdown netlify preview
Thanks for the issue! Answered there!
While I can appreciate that some screenshots on GitHub could be useful I generally try to avoid screenshots of code in documentation because they are more cumbersome and time consuming to update (whereas any changes to the output of code will update automatically when rebuilding the site). Ultimately what we get in the GitHub Action is output on a command line so it will not differ to what is shown in the vignette. Of course, they will need to have some familiarity with GitHub Actions to know where to look for the output and I think this is really where you feel a screenshot would be a useful addition which I do agree with so I've added a single example screenshot to orient folks. Having said all this, once hubverse-org/hubverse-actions#3 is complete, it's likely that results will be reported as a PR comment as standard. I'll make a note in that issue to ensure documentation is updated accordingly when it's complete.
I'll add something now |
OK! I've now added a note about updating |
I'll wait till @LucieContamin has had a look before merging though. See link above for rendered preview of docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the responsive comments. Looks good to me.
I am still a little bit unclear about the process for including custom validation function and the link with the new CSV file (if there is any). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might need just a little bit more information on the CSV file and the impact of any changes made on it. I am not sure I totally understand the behavior here.
Hey @LucieContamin ! So the csv file holds metadata about standard checks performed by the The file is not of any concern to users (i.e. they do not need to know about it) as the information is already presented to users in the documentation. It is mainly developers that need to know about it and update it if they add new checks. Having said that, your question made me realise (and I believe that's actually what @elray1 was referring to when mentioning functions with further arguments/configurations) that I had not documented the optional functions available through the package. I have now:
Hopefully this addresses any confusion. If not it would be great if you could let me know what is still confusing and importantly, where you think more information might be reuired. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the additional information, it answers all my questions!
This PR adds:
Also intend to add:
validate_model_data
,validate_model_file
,validate_model_metadata
.NEWS.md
including bug fixTo test out, chek out branch locally, install with
devtools::install()
and build site withpkgdown::build_site()
.Docs Preview up here! https://659ebe799507d50a38fa6df3--hubverse-pkgdown-preview.netlify.app/articles/hub-validations-class