View source: R/RtestingHelpers.R
testmeDir | R Documentation |
Collect files from a folder using a pattern, extract testing functions and run tests.
testmeDir(
dir = "Rtests",
expectationsFolder = "Rtests/RtestsExpectations",
filePattern = ".R$",
useGit = T,
logLevel = 4,
print = T
)
dir |
path to older with R-scripts containing tests |
expectationsFolder |
path to folder containing expectations for tests |
filePattern |
pattern to identify file names containting tests. Passed to |
useGit |
boolean to indicate whether to commit changes in expectation using |
logLevel |
detail of logging information (>4: debugging information) |
print |
boolean to indicate whether a test report is to be printed |
test results as returned by testmeFile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.