Replies: 4 comments 4 replies
-
@dgkf - I assume we'd want it to not depend on |
Beta Was this translation helpful? Give feedback.
-
I've added a basic structure to this action: #2 |
Beta Was this translation helpful? Give feedback.
-
The scope looks great to me. I think this is in line with where we want to take validation eventually, so it will be great to use this to champion CI jobs/logs as an alternative to full fledged validation reports - where the only thing that is documented is the opinions on the applicability and definitions of CI failure modes. Just to put a finer point on how much of our validation requirements would be covered under this umbrella:
The only lingering pieces are how we can ensure reproducibility of the testing and confidence that the execution of the tests meets our expectations for quality assurance of the installed version of the package when it's used. That's definitely a non-trivial piece, but this will hopefully leap frog us straight past mundane discussions about reproducible documentation of software to focus on reproducible use of software. |
Beta Was this translation helpful? Give feedback.
-
In terms of what this gh-action is, vs what it's not, I'd stress I don't see V1 of this gh-action representing validation in terms of a company definition based on their assessment of how to minimise risk and maximise quality. But I do see it as all valid components in helping to define validation: Phase 1 Hopefully live and in place across Nest, Admiral, and any other packages people want to add this to - but taking information we usually build anyway (e.g. build badges), but moving it into verbose reports aligned under the validation topics they address (what @dgkf's excellent comment dives into). Phase 2 Formalise it into something that begins to represent a shared definition of validation between companies, including to have conversations about what is needed to make the statement it's validated - then each company individually needs to think about how a shared definition of R package validation intergrates into the company specific SCE validation process which covers a lot more than R packages. Phase 3 I think this work would flow into the working group kicked off between CRAN, R-Core, R consortium and the FDA, as well as other analogous efforts like Accumulus Synergy. |
Beta Was this translation helpful? Give feedback.
-
Primary aim is to show that a gh-action can, on each release of a version (I would assume that most packages use releases, rather than just tracking
master
/main
. We then add this to our open sourced R packages to provide some transperancy on how the installation of the package is on a common system (e.g. rocker:4.0.1 on ubuntu).Short term I'd be happy to focus on quite a generic document, that simply is an
rmd
prints the output of:sessionInfo()
,capabilities()
and.libPaths()
read.dcf
for nowcovr::package_coverage()
covtracer::test_trace_df()
rcmdcheck::rcmdcheck()
And then allows the user to easily edit the key validation topics (but we can have some example content in the example template). With headings like those we use internally:
And then adding it is super easy. e.g. use just needs to add this code (plus the template).
And we get this up quickly (maybe @dinakar29's team can look into it?) - but we make sure not to spend too much time on it, as potentially valtools could be refactored to automate the documentation to test linkage, and when that happens we could refactor the backend to lean more on their setup.
@dgkf - super keen to get your thoughts on this.
Beta Was this translation helpful? Give feedback.
All reactions