Open mmengelbier opened 1 month ago
Documentation:
Validation reporting for a single package:
Action Points: Start a skeleton for a template rmd for https://github.com/pharmar/pharmapkgs @Zhenglei-BCS
[ ] Risk metrics report (Package information summary)
[ ] Risk score / characterization
[ ] Unit Test Report
[ ] System Test Protocol
[ ] List of Test Cases (Definition & Measurement of success)
[ ] Test Cases Execution Report
[ ] R Validation Hub logo
[ ] R-repo wg word document?
[ ] Do we generate multiple documents (Risk Assessment, Test Approach (2 levels), unit test report, system test protocol, list of test cases and their definitions, test cases execution report) or combined into one document?
[ ] Other considerations?
Example of skipped test for testing riskmetric package:
devtools::test() ℹ Testing riskmetric ✔ | F W S OK | Context ✔ | 2 | assess_dependencies
✔ | 7 | assess_export_help
✔ | 2 | assess_has_bug_reports_url
✔ | 5 | assess_has_examples
✔ | 2 | assess_has_news
✔ | 2 | assess_last_30_bugs_status
✔ | 2 | assess_news_current
✔ | 14 | assess
✔ | 1 | metric_score_labels
✔ | 1 | metric_score_range
✔ | 31 | pkg_ref
✔ | 3 0 | snapshots
══ Results ═══════════════════════════════════════════════════════════════════════════════════════════════════════════ Duration: 3.2 s
── Skipped tests (3) ───────────────────────────────────────────────────────────────────────────────────────────────── • snapshots appear to be failing due to random order of pkg_ref fields (3): test_snapshots.R:7:5, test_snapshots.R:20:5, test_snapshots.R:35:5
[ FAIL 0 | WARN 0 | SKIP 3 | PASS 69 ]
About the testing framework, Magnus mentioned that there should be multiple reference images for different industry, GCP / GXP. And it should be agreed that as long as the reference image has passed all the testing and documented all test results, each organization could safely pull the image into their own environment.
A general question regarding what compliance documentation is expected as a product of producing package quality indicators, in the form of factors and metrics. Industry best practice would expect that there is a predefined process, i.e. pipleine description, and documented evidence on the result from producing said quality indicators using that pipeline.
Using the case of organization/company A that intends to use the "database" of wg quality indicators in their internal package risk assessment and validation, would they expect documentation that
As a summary, what documentation would be need to establish trust in the indicators maintained in wg repository ? Would that be the same level of documentation expected to support company A's risk-based validation and compliance argument? Would company A expect that the indicators are estimated using a qualified pre-specified controlled environment?