[Rprotobuf-commits] r512 - pkg/inst/unitTests
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Aug 22 08:19:12 CEST 2013
Author: murray
Date: 2013-08-22 08:19:11 +0200 (Thu, 22 Aug 2013)
New Revision: 512
Modified:
pkg/inst/unitTests/runit.int64.R
Log:
Fix test to pass file connection to readASCII. It treats characters
as the actual input, not as filenames.
Modified: pkg/inst/unitTests/runit.int64.R
===================================================================
--- pkg/inst/unitTests/runit.int64.R 2013-08-22 06:13:45 UTC (rev 511)
+++ pkg/inst/unitTests/runit.int64.R 2013-08-22 06:19:11 UTC (rev 512)
@@ -24,7 +24,8 @@
}
a <- protobuf_unittest.TestAllTypes$readASCII(
- system.file("unitTests", "data", "int64.ascii", package="RProtoBuf"))
+ file(system.file("unitTests", "data", "int64.ascii",
+ package="RProtoBuf")))
# Uncomment when RProtoBuf / Rcpp are unbroken with respect to 64-bit ints.
# checkEquals(length(unique(a$repeated_int64)), 2)
More information about the Rprotobuf-commits
mailing list