Achieving completeness, accuracy and reliability
September 8, 2025
ICH E6 (R3) (23.07.2025)
EMA Guideline on computerised systems and electronic data in clinical trials (07.03.2023)
Example: users can attend structured courses during their studies or attend courses in later phases of their career.

Examples:
Examples:
Examples:
R: Regulatory Compliance and Validation Issues A Guidance Document for the Use of R in Regulated Clinical Trial Environments (18.10.2021)
R: Software Development Life Cycle A Description of Rs Development, Testing, Release and Maintenance Processes (18.10.2021)
tools::testInstalledBasic(): for testing base R functionalitiestools::testInstalledPackage(): for testing a specific packagetools::testInstalledPackages(): for testing base and recommended packagesExample: tools::testInstalledBasic("basic") to test base R functionalities
Example: tools::testInstalledPackages(outDir = "./tests") to test base and recommended packages
Example: For testing specific packages
tools::testInstalledPackage("dplyr", outDir = "./tests", types = "examples")tools::testInstalledPackage("dplyr", outDir = "./tests", types = "tests")tools::testInstalledPackage("dplyr", outDir = "./tests", types = "vignettes")Notes on testing packages:
install.packages("dplyr", dependencies = TRUE)vignette("window-functions", package = "dplyr")https://github.com/pharmaR/riskassessment/
Assess risk based on specific metrics, such as:
Generate reports based on this assessment
Incorrect applications can occur:
Mitigate the risk of errors by:
Example: For code with the potential to affect trial results, have second expert either review or even rewrite the code
sessionInfo() in a validation report| Validation Aspect | Installation Validation | ||
|---|---|---|---|
| Completeness | OK | ||
| Accuracy | ✔ | ||
| Reliability | ✖ |
| Validation Aspect | Installation Validation | Code Review | |
|---|---|---|---|
| Completeness | OK | ✔ | |
| Accuracy | ✔ | OK | |
| Reliability | ✖ | ✖ |
renv and sessionInfo()| Validation Aspect | Installation Validation | Code Review | Guideline on Reproducibility |
|---|---|---|---|
| Completeness | OK | ✔ | ✖ |
| Accuracy | ✔ | OK | ✖ |
| Reliability | ✖ | ✖ | ✔ |