Skip to content

openanalytics/pkgTesteR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pkgTesteR

pkgTesteR creates a validation form for a R package tracked with git.

For example, to create the validation form for the inTextSummaryTable R package:

  1. Install the R package from CRAN with tests included:
remotes::install_version("inTextSummaryTable", version = "3.3.0", INSTALL_opts = "--install-tests")

  1. Clone the git repository with the source code of the package:
git clone https://github.com/openanalytics/inTextSummaryTable.git
  1. Create a validation form highlighting tests which are new in the installed version (v3.3.0 vs 3.2.1):
pkgTesteR::exportUnitTestsToForm(
    package = "inTextSummaryTable", 
    packageGitPath = ".",
    packageVersionBase = "3.2.0", # first version for production = tests stable
    riskLevel = "high",
    testInfoExport = TRUE
)

See more examples and explanations on the process in ? pkgTesteR::exportUnitTestsToForm.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors