-
Notifications
You must be signed in to change notification settings - Fork 2
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
Set up our first GH Action with Styler, Spelling and others #26
Comments
@bms63 I'm happy to take this and any other CI/CD stuff |
Yay!! What do you think about setting up a lintr action? I'd like to implement just the vanilla lintrs on our code. Most our caught by styler, but checking for commented out code would be nice win! In the website repo it would be good to set up a link checker @parmsam-pfizer WDYT? |
@bms63 It looks like these were already implemented in the last release and pulled over: |
oh right - yeah can you make sure they are all using latest versions? the big CI action will be comparing the datasets we create to several sources: pilot 3 datasets, original CDISC pilot datasets, and recent datasetjson COSA pilot. I was thinking of diffdf for the datasets, but not sure what to use for comparing json files. |
@bms63 - the jsonlite package in CRAN (which dataset-json v0.3.0 suggests here >= v1.8.0) supports functionality to compare if JSON files are identical. We can also write a custom function (if necessary) for pilot5 utils to compare length and drill down through key-value pairs to check for any differences across JSON files. Seems reasonable to use the CDISC pilot datasets noted in the Slack pilot5 channel here as the single point of truth. @elimillera - in pilot3 we used atorus-research CDISC replication repo here as the single point of truth during QC and outputs replica match confirmation. |
Background
Adhering to the same style of coding is really nice and makes reviewing code so much easier. We are following the tidyverse style guide.
Every PR coming in should fail if the style is not tidyverse style.
Definition of Done
@RConsortium/pilot5 anyone want to set this one up!! I think this one is nice https://github.com/r-lib/actions/blob/v2/examples/style.yaml
The text was updated successfully, but these errors were encountered: