pkgTesteR creates a validation form for a R package stored in a git repository.
For example, to create the validation form for the clinUtils R package:
- Clone the git repository of the package available at: https://github.com/openanalytics/clinUtils.git
- Make sure to pull the tags containing the different versions of the package:
git pull tags - Create a validation form highlighting tests which are new since v0.0.4:
pkgTesteR::exportUnitTestsToForm(
package = "clinUtils",
packageGitPath = "~/git/clinUtils",
packageVersionBase = "0.0.4",
riskLevel = "medium",
testInfoExport = TRUE
)
See more examples and explanations on the process in ? pkgTesteR::exportUnitTestsToForm.