scriptests: Transcript-Based Unit Tests that are Easy to Create and Maintain

Support for using .Rt (transcript) tests in the tests directory of a package. Provides more convenience and features than the standard .R/.Rout.save tests. Tests can be run under R CMD check and also interactively. Provides source.pkg() for quickly loading code, DLLs, and data from a package for use in an edit/compile/test development cycle.

Install the latest version of this package by entering the following in R:
install.packages("scriptests")
AuthorTony Plate
Date of publication2016-07-22 22:42:47
MaintainerTony Plate <tplate@acm.org>
LicenseGPL
Version1.0-16

View on CRAN

Files

inst
inst/examples
inst/examples/ScripTestsExampleFull
inst/examples/ScripTestsExampleFull/tests
inst/examples/ScripTestsExampleFull/tests/allperfect3.Rt
inst/examples/ScripTestsExampleFull/tests/shouldfail.Rt
inst/examples/ScripTestsExampleFull/tests/continueAfterStop.Rt
inst/examples/ScripTestsExampleFull/tests/allperfect.Rt
inst/examples/ScripTestsExampleFull/tests/allperfect6.Rt
inst/examples/ScripTestsExampleFull/tests/allperfect4.Rt
inst/examples/ScripTestsExampleFull/tests/allperfect2.Rt
inst/examples/ScripTestsExampleFull/tests/allperfect8.Rt
inst/examples/ScripTestsExampleFull/tests/runtests.R
inst/examples/ScripTestsExampleFull/tests/allperfect5.Rt
inst/examples/ScripTestsExampleFull/tests/plus.Rt
inst/examples/ScripTestsExampleFull/tests/allperfect7.Rt
inst/examples/ScripTestsExampleFull/NAMESPACE
inst/examples/ScripTestsExampleFull/R
inst/examples/ScripTestsExampleFull/R/privatePlus.R inst/examples/ScripTestsExampleFull/R/plus.R
inst/examples/ScripTestsExampleFull/DESCRIPTION
inst/examples/ScripTestsExampleFull/man
inst/examples/ScripTestsExampleFull/man/exportedPlus.Rd
inst/examples/ScripTestsExampleFull/man/plus.Rd
inst/examples/ScripTestsExampleMin
inst/examples/ScripTestsExampleMin/tests
inst/examples/ScripTestsExampleMin/tests/runtests.R
inst/examples/ScripTestsExampleMin/tests/plus.Rt
inst/examples/ScripTestsExampleMin/R
inst/examples/ScripTestsExampleMin/R/plus.R
inst/examples/ScripTestsExampleMin/DESCRIPTION
inst/examples/ScripTestsExampleMin/man
inst/examples/ScripTestsExampleMin/man/plus.Rd
inst/sccversion.txt
inst/svnversion.txt
inst/doc
inst/doc/scriptests.R
inst/doc/scriptests.pdf
inst/doc/scriptests.Rnw
tests
tests/badsyntax.Rt
tests/allperfect3.Rt
tests/CONFIG
tests/continuationLines.Rt
tests/internals.Rt
tests/testErrorFormatting.Rt
tests/continueAfterStop.Rt
tests/allperfect.Rt
tests/directives.Rt
tests/simple2.Rt
tests/error.Rt
tests/infowarn1.Rt
tests/allperfect6.Rt
tests/allperfect4.Rt
tests/allperfect2.Rt
tests/allperfect8.Rt
tests/runtests.R
tests/allperfect5.Rt
tests/plus.Rt
tests/allperfect7.Rt
tests/simple1.Rt
NAMESPACE
NEWS
R
R/source.pkg.R R/Rdiff.R R/rttests.R R/ScripDiff.R R/runTestsHereFast.R R/runPackageTests.R R/parseTranscriptFile.R R/runScripTests.R R/checkTestOutput.R R/compareTranscriptAndOutput.R R/plus.R R/dumprout.R R/evalCapture.R R/createRfromRt.R R/runtests.R R/initializeTests.R R/summarizeTests.R R/compareSingleTest.R
vignettes
vignettes/testpkg
vignettes/testpkg/tests
vignettes/testpkg/tests/willfail.Rt
vignettes/testpkg/tests/runtests.R
vignettes/testpkg/tests/plus.Rt
vignettes/testpkg/R
vignettes/testpkg/R/plus.R
vignettes/testpkg/DESCRIPTION
vignettes/testpkg/man
vignettes/testpkg/man/plus.Rd
vignettes/scriptests.Rnw
vignettes/testpkg.tests
vignettes/testpkg.tests/willfail.Rt
vignettes/testpkg.tests/runtests.R
vignettes/testpkg.tests/plus.Rt
MD5
build
build/vignette.rds
DESCRIPTION
man
man/runtests.Rd man/runScripTests.Rd man/compareTranscriptAndOutput.Rd man/plus.Rd man/source.pkg.Rd man/ScripTests.design.Rd man/ScripTests-package.Rd man/parseTranscriptFile.Rd man/setup.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.