File: doSvUnit.R

package info (click to toggle)
r-cran-sqldf 0.4-11-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 316 kB
  • sloc: awk: 91; sh: 13; makefile: 5
file content (10 lines) | stat: -rw-r--r-- 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#! /usr/bin/Rscript --vanilla --default-packages=utils,stats,methods,svUnit
pkg <- "sqldf"
require(svUnit)  # Needed if run from R CMD BATCH
require(pkg, character.only = TRUE)  # Needed if run from R CMD BATCH
# unlink("mypkgTest.txt")  # Make sure we generate a new report
mypkgSuite <- svSuiteList(pkg, excludeList = NULL)  # List all our test suites
runTest(mypkgSuite, name = "svUnit")  # Run them...
# protocol(Log(), type = "text", file = "mypkgTest.txt")  # ... and write report
Log()