R version 2.12.0 alpha (2010-09-29 r53067)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> #### doRUnit.R --- Run RUnit tests
> ####------------------------------------------------------------------------
> 
> ### borrowed from package fUtilities in RMetrics
> ### http://r-forge.r-project.org/plugins/scmsvn/viewcvs.php/pkg/fUtilities/tests/doRUnit.R?rev=1958&root=rmetrics&view=markup
> 
> ### Originally follows Gregor Gojanc's example in CRAN package  'gdata'
> ### and the corresponding section in the R Wiki:
> ###  http://wiki.r-project.org/rwiki/doku.php?id=developers:runit
> 
> ### MM: Vastly changed:  This should also be "runnable" for *installed*
> ##              package which has no ./tests/
> ## ----> put the bulk of the code e.g. in  ../inst/unitTests/runTests.R :
> 
> if(require("RUnit", quietly = TRUE)) {
+   pkg <- "Rcpp"
+                                        
+   require( pkg, character.only=TRUE)
+   
+   path <- system.file("unitTests", package = pkg)
+   
+   stopifnot(file.exists(path), file.info(path.expand(path))$isdir)
+   
+   # without this, we get unit test failures
+   Sys.setenv( R_TESTS = "" )
+   
+   Rcpp.unit.test.output.dir <- getwd()
+   
+   source(file.path(path, "runTests.R"), echo = TRUE)
+   
+ } else {
+ 	print( "package RUnit not available, cannot run unit tests" )
+ }                                                                                                 
Loading required package: Rcpp

> pkg <- "Rcpp"

> if (!require("inline", character.only = TRUE, quietly = TRUE)) {
+     stop("The inline package is required to run Rcpp unit tests")
+ }

> if (compareVersion(packageDescription("inline")[["Version"]], 
+     "0.3.4.4") < 0) {
+     stop("Rcpp unit tests need at least the version 0.3.4.4 ..." ... [TRUNCATED] 

> cppfunction <- function(...) {
+     cxxfunction(..., plugin = "Rcpp")
+ }

> if (require("RUnit", quietly = TRUE)) {
+     is_local <- function() {
+         if (exists("argv", globalenv()) && "--local" %in% argv) 
+          .... [TRUNCATED] 


Executing test function test.dummy  ... [1] "C:\\R\\R-212~1.0AL/bin/x64/Rterm.exe"
[2] "-f"                                  
[3] "doRUnit.R"                           
[4] "--restore"                           
[5] "--save"                              
[6] "--vanilla"                           
$OS.type
[1] "windows"

$file.sep
[1] "/"

$dynlib.ext
[1] ".dll"

$GUI
[1] "RTerm"

$endian
[1] "little"

$pkgType
[1] "win.binary"

$path.sep
[1] ";"

$r_arch
[1] "x64"

                                                                                                                                                                                                                                                                                                                                                                                                                  ALLUSERSPROFILE 
                                                                                                                                                                                                                                                                                                                                                                                                                "C:\\ProgramData" 
                                                                                                                                                                                                                                                                                                                                                                                                                          APPDATA 
                                                                                                                                                                                                                                                                                                                                                                                            "C:\\Users\\romain\\AppData\\Roaming" 
                                                                                                                                                                                                                                                                                                                                                                                                                              AWK 
                                                                                                                                                                                                                                                                                                                                                                                                                           "gawk" 
                                                                                                                                                                                                                                                                                                                                                                                                                        BIBINPUTS 
                                                                                                                                                                                                                                                                                                                                       ".;.;;C:/R/R-2.12.0alpha/share/texmf/bibtex/bib;;C:/R/R-212~1.0AL/share/texmf/bibtex/bib;" 
                                                                                                                                                                                                                                                                                                                                                                                                                           BINDIR 
                                                                                                                                                                                                                                                                                                                                                                                                                       "bin/i386" 
                                                                                                                                                                                                                                                                                                                                                                                                                        BSTINPUTS 
                                                                                                                                                                                                                                                                                                                                       ".;.;;C:/R/R-2.12.0alpha/share/texmf/bibtex/bst;;C:/R/R-212~1.0AL/share/texmf/bibtex/bst;" 
                                                                                                                                                                                                                                                                                                                                                                                                                     COMPUTERNAME 
                                                                                                                                                                                                                                                                                                                                                                                                                "WIN-BSQT7089Q4C" 
                                                                                                                                                                                                                                                                                                                                                                                                                          ComSpec 
                                                                                                                                                                                                                                                                                                                                                                                                 "C:\\Windows\\system32\\cmd.exe" 
                                                                                                                                                                                                                                                                                                                                                                                                               CommonProgramFiles 
                                                                                                                                                                                                                                                                                                                                                                                                "C:\\Program Files\\Common Files" 
                                                                                                                                                                                                                                                                                                                                                                                                          CommonProgramFiles(x86) 
                                                                                                                                                                                                                                                                                                                                                                                          "C:\\Program Files (x86)\\Common Files" 
                                                                                                                                                                                                                                                                                                                                                                                                               CommonProgramW6432 
                                                                                                                                                                                                                                                                                                                                                                                                "C:\\Program Files\\Common Files" 
                                                                                                                                                                                                                                                                                                                                                                                                                            EGREP 
                                                                                                                                                                                                                                                                                                                                                                                                                        "grep -E" 
                                                                                                                                                                                                                                                                                                                                                                                                                 FP_NO_HOST_CHECK 
                                                                                                                                                                                                                                                                                                                                                                                                                             "NO" 
                                                                                                                                                                                                                                                                                                                                                                                                                             HOME 
                                                                                                                                                                                                                                                                                                                                                                                                   "C:\\Users\\romain\\Documents" 
                                                                                                                                                                                                                                                                                                                                                                                                                        HOMEDRIVE 
                                                                                                                                                                                                                                                                                                                                                                                                                             "C:" 
                                                                                                                                                                                                                                                                                                                                                                                                                         HOMEPATH 
                                                                                                                                                                                                                                                                                                                                                                                                                "\\Users\\romain" 
                                                                                                                                                                                                                                                                                                                                                                                                                         LANGUAGE 
                                                                                                                                                                                                                                                                                                                                                                                                                              "C" 
                                                                                                                                                                                                                                                                                                                                                                                                                       LC_COLLATE 
                                                                                                                                                                                                                                                                                                                                                                                                                              "C" 
                                                                                                                                                                                                                                                                                                                                                                                                                     LOCALAPPDATA 
                                                                                                                                                                                                                                                                                                                                                                                              "C:\\Users\\romain\\AppData\\Local" 
                                                                                                                                                                                                                                                                                                                                                                                                                      LOGONSERVER 
                                                                                                                                                                                                                                                                                                                                                                                                            "\\\\WIN-BSQT7089Q4C" 
                                                                                                                                                                                                                                                                                                                                                                                                             NUMBER_OF_PROCESSORS 
                                                                                                                                                                                                                                                                                                                                                                                                                              "1" 
                                                                                                                                                                                                                                                                                                                                                                                                                               OS 
                                                                                                                                                                                                                                                                                                                                                                                                                     "Windows_NT" 
                                                                                                                                                                                                                                                                                                                                                                                                                             PATH 
"C:\\R\\R-2.12.0alpha\\bin/i386;c:\\Rtools\\bin;c:\\Rtools\\perl\\bin;c:\\Rtools\\MinGW\\bin;c:\\Rtools\\bin;c:\\Rtools\\perl\\bin;c:\\Rtools\\MinGW-w64\\bin;C:\\rtools64\\x86_64-w64-mingw32\\bin;C:\\rtools64\\bin;C:\\R\\R-2.12.0alpha\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Subversion\\bin;C:\\Program Files\\jEdit" 
                                                                                                                                                                                                                                                                                                                                                                                                                          PATHEXT 
                                                                                                                                                                                                                                                                                                                                                                          ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" 
                                                                                                                                                                                                                                                                                                                                                                                                           PROCESSOR_ARCHITECTURE 
                                                                                                                                                                                                                                                                                                                                                                                                                          "AMD64" 
                                                                                                                                                                                                                                                                                                                                                                                                             PROCESSOR_IDENTIFIER 
                                                                                                                                                                                                                                                                                                                                                                             "Intel64 Family 6 Model 30 Stepping 5, GenuineIntel" 
                                                                                                                                                                                                                                                                                                                                                                                                                  PROCESSOR_LEVEL 
                                                                                                                                                                                                                                                                                                                                                                                                                              "6" 
                                                                                                                                                                                                                                                                                                                                                                                                               PROCESSOR_REVISION 
                                                                                                                                                                                                                                                                                                                                                                                                                           "1e05" 
                                                                                                                                                                                                                                                                                                                                                                                                                           PROMPT 
                                                                                                                                                                                                                                                                                                                                                                                                                           "$P$G" 
                                                                                                                                                                                                                                                                                                                                                                                                                     PSModulePath 
                                                                                                                                                                                                                                                                                                                                                                      "C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\" 
                                                                                                                                                                                                                                                                                                                                                                                                                           PUBLIC 
                                                                                                                                                                                                                                                                                                                                                                                                              "C:\\Users\\Public" 
                                                                                                                                                                                                                                                                                                                                                                                                                      ProgramData 
                                                                                                                                                                                                                                                                                                                                                                                                                "C:\\ProgramData" 
                                                                                                                                                                                                                                                                                                                                                                                                                     ProgramFiles 
                                                                                                                                                                                                                                                                                                                                                                                                              "C:\\Program Files" 
                                                                                                                                                                                                                                                                                                                                                                                                                ProgramFiles(x86) 
                                                                                                                                                                                                                                                                                                                                                                                                        "C:\\Program Files (x86)" 
                                                                                                                                                                                                                                                                                                                                                                                                                     ProgramW6432 
                                                                                                                                                                                                                                                                                                                                                                                                              "C:\\Program Files" 
                                                                                                                                                                                                                                                                                                                                                                                                                           R_ARCH 
                                                                                                                                                                                                                                                                                                                                                                                                                          "/i386" 
                                                                                                                                                                                                                                                                                                                                                                                                                        R_BROWSER 
                                                                                                                                                                                                                                                                                                                                                                                                                           "open" 
                                                                                                                                                                                                                                                                                                                                                                                                                        R_BZIPCMD 
                                                                                                                                                                                                                                                                                                                                                                                                                          "bzip2" 
                                                                                                                                                                                                                                                                                                                                                                                                                            R_CMD 
                                                                                                                                                                                                                                                                                                                                                                                                                          "R CMD" 
                                                                                                                                                                                                                                                                                                                                                                                                                        R_DOC_DIR 
                                                                                                                                                                                                                                                                                                                                                                                                           "C:/R/R-212~1.0AL/doc" 
                                                                                                                                                                                                                                                                                                                                                                                                                        R_GZIPCMD 
                                                                                                                                                                                                                                                                                                                                                                                                                           "gzip" 
                                                                                                                                                                                                                                                                                                                                                                                                                           R_HOME 
                                                                                                                                                                                                                                                                                                                                                                                                             "C:\\R\\R-212~1.0AL" 
                                                                                                                                                                                                                                                                                                                                                                                                                    R_INCLUDE_DIR 
                                                                                                                                                                                                                                                                                                                                                                                                       "C:/R/R-212~1.0AL/include" 
                                                                                                                                                                                                                                                                                                                                                                                                                           R_LIBS 
                                                                                                                                                                                                                                                                                                                                                                                       "C:/Users/romain/svn/rcpp/pkg/Rcpp.Rcheck" 
                                                                                                                                                                                                                                                                                                                                                                                                                      R_LIBS_USER 
                                                                                                                                                                                                                                                                                                                                                                                "C:\\Users\\romain\\Documents/R/win-library/2.12" 
                                                                                                                                                                                                                                                                                                                                                                                                                         R_OSTYPE 
                                                                                                                                                                                                                                                                                                                                                                                                                        "windows" 
                                                                                                                                                                                                                                                                                                                                                                                                                      R_PAPERSIZE 
                                                                                                                                                                                                                                                                                                                                                                                                                             "a4" 
                                                                                                                                                                                                                                                                                                                                                                                                                 R_PAPERSIZE_USER 
                                                                                                                                                                                                                                                                                                                                                                                                                             "a4" 
                                                                                                                                                                                                                                                                                                                                                                                                                      R_PDFVIEWER 
                                                                                                                                                                                                                                                                                                                                                                                                                           "open" 
                                                                                                                                                                                                                                                                                                                                                                                                                         R_RD4DVI 
                                                                                                                                                                                                                                                                                                                                                                                                                             "ae" 
                                                                                                                                                                                                                                                                                                                                                                                                                         R_RD4PDF 
                                                                                                                                                                                                                                                                                                                                                                                                                    "times,hyper" 
                                                                                                                                                                                                                                                                                                                                                                                                                      R_SHARE_DIR 
                                                                                                                                                                                                                                                                                                                                                                                                         "C:/R/R-212~1.0AL/share" 
                                                                                                                                                                                                                                                                                                                                                                                                                       R_UNZIPCMD 
                                                                                                                                                                                                                                                                                                                                                                                                                          "unzip" 
                                                                                                                                                                                                                                                                                                                                                                                                                           R_USER 
                                                                                                                                                                                                                                                                                                                                                                                                   "C:\\Users\\romain\\Documents" 
                                                                                                                                                                                                                                                                                                                                                                                                                        R_VERSION 
                                                                                                                                                                                                                                                                                                                                                                                                                         "2.12.0" 
                                                                                                                                                                                                                                                                                                                                                                                                                         R_ZIPCMD 
                                                                                                                                                                                                                                                                                                                                                                                                                            "zip" 
                                                                                                                                                                                                                                                                                                                                                                                                                              SED 
                                                                                                                                                                                                                                                                                                                                                                                                                            "sed" 
                                                                                                                                                                                                                                                                                                                                                                                                                      SESSIONNAME 
                                                                                                                                                                                                                                                                                                                                                                                                                        "Console" 
                                                                                                                                                                                                                                                                                                                                                                                                                      SystemDrive 
                                                                                                                                                                                                                                                                                                                                                                                                                             "C:" 
                                                                                                                                                                                                                                                                                                                                                                                                                       SystemRoot 
                                                                                                                                                                                                                                                                                                                                                                                                                    "C:\\Windows" 
                                                                                                                                                                                                                                                                                                                                                                                                                             TEMP 
                                                                                                                                                                                                                                                                                                                                                                                        "C:\\Users\\romain\\AppData\\Local\\Temp" 
                                                                                                                                                                                                                                                                                                                                                                                                                        TEXINPUTS 
                                                                                                                                                                                                                                                                                                                                         ".;.;;C:/R/R-2.12.0alpha/share/texmf/tex/latex;;C:/R/R-212~1.0AL/share/texmf/tex/latex;" 
                                                                                                                                                                                                                                                                                                                                                                                                                              TMP 
                                                                                                                                                                                                                                                                                                                                                                                        "C:\\Users\\romain\\AppData\\Local\\Temp" 
                                                                                                                                                                                                                                                                                                                                                                                                                           TMPDIR 
                                                                                                                                                                                                                                                                                                                                                                                        "C:\\Users\\romain\\AppData\\Local\\Temp" 
                                                                                                                                                                                                                                                                                                                                                                                                                       USERDOMAIN 
                                                                                                                                                                                                                                                                                                                                                                                                                "WIN-BSQT7089Q4C" 
                                                                                                                                                                                                                                                                                                                                                                                                                         USERNAME 
                                                                                                                                                                                                                                                                                                                                                                                                                         "romain" 
                                                                                                                                                                                                                                                                                                                                                                                                                      USERPROFILE 
                                                                                                                                                                                                                                                                                                                                                                                                              "C:\\Users\\romain" 
                                                                                                                                                                                                                                                                                                                                                                                                                _R_CHECK_LICENSE_ 
                                                                                                                                                                                                                                                                                                                                                                                                                          "maybe" 
                                                                                                                                                                                                                                                                                                                                                                                                                           windir 
                                                                                                                                                                                                                                                                                                                                                                                                                    "C:\\Windows" 
 done successfully.

saving txt unit test report to 'C:/Users/romain/svn/rcpp/pkg/Rcpp.Rcheck/tests_x64/Rcpp-unitTests.txt'
saving html unit test report to 'C:/Users/romain/svn/rcpp/pkg/Rcpp.Rcheck/tests_x64/Rcpp-unitTests.html'
1 / 1
>