[Rprotobuf-commits] r888 - pkg/inst/unitTests
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Mar 25 04:43:17 CET 2014
Author: murray
Date: 2014-03-25 04:43:17 +0100 (Tue, 25 Mar 2014)
New Revision: 888
Modified:
pkg/inst/unitTests/runit.int64.R
Log:
Correct bug about comparing boolean with NA, spotted by Dirk.
Modified: pkg/inst/unitTests/runit.int64.R
===================================================================
--- pkg/inst/unitTests/runit.int64.R 2014-03-25 03:37:51 UTC (rev 887)
+++ pkg/inst/unitTests/runit.int64.R 2014-03-25 03:43:17 UTC (rev 888)
@@ -27,7 +27,8 @@
warning("Can't test 64-bit int type on platform with sizeof(long long) < 8")
return
}
- if (Rcpp:::capabilities()["long long"] != TRUE) {
+ if (is.na(Rcpp:::capabilities()["long long"]) ||
+ Rcpp:::capabilities()["long long"] != TRUE) {
warning("Can't test 64-bit int type without RCPP_LONG_LONG support.")
return
}
More information about the Rprotobuf-commits
mailing list