[Rprotobuf-commits] r450 - in pkg: . inst/unitTests
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue May 15 01:19:03 CEST 2012
Author: edd
Date: 2012-05-15 01:19:03 +0200 (Tue, 15 May 2012)
New Revision: 450
Modified:
pkg/ChangeLog
pkg/DESCRIPTION
pkg/inst/unitTests/runit.addressbook.R
Log:
corrected Depends: by removing int64 and lowering versioned Depends on Rcpp to 0.9.6
small correction to unit test for converting results to char prior to comparing
Modified: pkg/ChangeLog
===================================================================
--- pkg/ChangeLog 2012-05-14 21:30:13 UTC (rev 449)
+++ pkg/ChangeLog 2012-05-14 23:19:03 UTC (rev 450)
@@ -3,6 +3,12 @@
* R/lookup.R: comment-out unlockBinding() which R CMD check does not
like as it turns out that we do not need it here anyway
+ * inst/unitTests/runit.addressbook.R (test.ascii): Small correction
+ by converting to character before comparing
+
+ * DESCRIPTION: Remove Depends: on int64 which is no longer used,
+ lower Depends: on Rcpp to 0.9.6 which should be sufficient
+
2012-05-13 Dirk Eddelbuettel <edd at debian.org>
* src/rprotobuf.h: Added '#include <unistd.h>' to make g++-4.7 happy
Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION 2012-05-14 21:30:13 UTC (rev 449)
+++ pkg/DESCRIPTION 2012-05-14 23:19:03 UTC (rev 450)
@@ -7,7 +7,7 @@
Description: Protocol Buffers are a way of encoding structured data in an
efficient yet extensible format. Google uses Protocol Buffers for almost all
of its internal RPC protocols and file formats.
-Depends: R (>= 2.11.0), RCurl, Rcpp (>= 0.9.7), int64, methods
+Depends: R (>= 2.11.0), RCurl, Rcpp (>= 0.9.6), methods
LinkingTo: Rcpp
Suggests: RUnit, highlight
SystemRequirements: Protocol Buffer compiler (to create C++ header and source files
Modified: pkg/inst/unitTests/runit.addressbook.R
===================================================================
--- pkg/inst/unitTests/runit.addressbook.R 2012-05-14 21:30:13 UTC (rev 449)
+++ pkg/inst/unitTests/runit.addressbook.R 2012-05-14 23:19:03 UTC (rev 450)
@@ -37,5 +37,5 @@
# Verify we can read back in the message from a text file.
book2 <- readASCII( tutorial.AddressBook, file(out.file, "rb"))
- checkEquals(book, book2)
+ checkEquals(as.character(book), as.character(book2) )
}
More information about the Rprotobuf-commits
mailing list