[Rcpp-commits] r3431 - in pkg/int64: . inst/unitTests

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Dec 23 15:00:58 CET 2011


Author: edd
Date: 2011-12-23 15:00:58 +0100 (Fri, 23 Dec 2011)
New Revision: 3431

Modified:
   pkg/int64/ChangeLog
   pkg/int64/inst/unitTests/runTests.R
Log:
modify fallback location of unitTest output files to be the int64.Rcheck/ dir


Modified: pkg/int64/ChangeLog
===================================================================
--- pkg/int64/ChangeLog	2011-12-23 13:57:38 UTC (rev 3430)
+++ pkg/int64/ChangeLog	2011-12-23 14:00:58 UTC (rev 3431)
@@ -1,43 +1,51 @@
+2011-12-23  Dirk Eddelbuettel  <edd at debian.org>
+
+	* inst/unitTests/runTests.R: unit tests output 'fallback' directory
+	changed to '..' and files are now in top-level of $pkg.Rcheck/
+
 2011-11-26  Romain Francois  <romain at r-enthusiasts.com>
 
-    * inst/include/int64/math.h: log method for [u]int64
+	* inst/include/int64/math.h: log method for [u]int64
 
 2011-11-26  Romain Francois  <romain at r-enthusiasts.com>
 
-    * R/int64.R: str and log10 methods for [u]int64 as requested by Hadley Wickham
+	* R/int64.R: str and log10 methods for [u]int64 as requested by
+	Hadley Wickham
 
 2011-11-23  Romain Francois  <romain at r-enthusiasts.com>
 
-    * inst/unitTests/runit.int64.R: testing read.csv
+	* inst/unitTests/runit.int64.R: testing read.csv
 
 2011-11-23  Romain Francois  <romain at r-enthusiasts.com>
 
-    * R/int64.R: implementing setAs so that read.csv can handle colClasses = "int64"
-    and "uint64". Suggestion from Gabor Grothendieck on R-devel
-    
-    * R/int64.R: show.[u]int64 did not handle zero length vectors correctly
-    
-    * man/int64.Rd: cross links with uint64.Rd
-    
-    * man/uint64.Rd: cross links with int64.Rd
+	* R/int64.R: implementing setAs so that read.csv can handle
+	colClasses = "int64" and "uint64". Suggestion from Gabor Grothendieck
+	on R-devel
 
+	* R/int64.R: show.[u]int64 did not handle zero length vectors
+	correctly
+
+	* man/int64.Rd: cross links with uint64.Rd
+
+	* man/uint64.Rd: cross links with int64.Rd
+
 2011-11-06  Romain Francois  <romain at r-enthusiasts.com>
 
-    * R/int64.R: adding names and names<- to show 64 big integer vectors with
-    names
+	* R/int64.R: adding names and names<- to show 64 big integer vectors
+	with names
 
 2011-11-01  Romain Francois  <romain at r-enthusiasts.com>
 
-    * R/int64.R: implementation of sort for int64 and uint64
-    
-    * inst/include/int64/LongVector.h: LongVector<>::sort
+	* R/int64.R: implementation of sort for int64 and uint64
 
+	* inst/include/int64/LongVector.h: LongVector<>::sort
+
 2011-11-01  Romain Francois  <romain at r-enthusiasts.com>
 
-    * R/int64.R: implementation of unique for int64 and uint64
-    
-    * man/unique-methods.Rd: documentation of the above
-    
-    * inst/unitTests/runit.int64.R: unit tests for unique
+	* R/int64.R: implementation of unique for int64 and uint64
 
+	* man/unique-methods.Rd: documentation of the above
 
+	* inst/unitTests/runit.int64.R: unit tests for unique
+
+

Modified: pkg/int64/inst/unitTests/runTests.R
===================================================================
--- pkg/int64/inst/unitTests/runTests.R	2011-12-23 13:57:38 UTC (rev 3430)
+++ pkg/int64/inst/unitTests/runTests.R	2011-12-23 14:00:58 UTC (rev 3431)
@@ -94,13 +94,8 @@
             }
         }
 
-                                        # if it did not work, try to use /tmp
-        if( is.null(output) ){
-            if( file.exists( "/tmp" ) ){
-                output <- "/tmp"
-            } else{
-                output <- getwd()
-            }
+        if( is.null(output) ) {         # if it did not work, use parent dir
+            output <- ".."              # as BDR does not want /tmp to be used
         }
 
         ## Print results



More information about the Rcpp-commits mailing list