[Rcpp-commits] r4065 - pkg/Rcpp/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Dec 4 00:12:20 CET 2012


Author: jjallaire
Date: 2012-12-04 00:12:19 +0100 (Tue, 04 Dec 2012)
New Revision: 4065

Modified:
   pkg/Rcpp/R/Attributes.R
Log:
ignore.stderr during devel tools check

Modified: pkg/Rcpp/R/Attributes.R
===================================================================
--- pkg/Rcpp/R/Attributes.R	2012-12-03 23:04:10 UTC (rev 4064)
+++ pkg/Rcpp/R/Attributes.R	2012-12-03 23:12:19 UTC (rev 4065)
@@ -634,7 +634,9 @@
         # attempt the compilation and note whether we succeed
         cmd <- paste(R.home(component="bin"), .Platform$file.sep, "R ",
                      "CMD SHLIB foo.c", sep = "") 
-        result <- suppressWarnings(system(cmd, intern = TRUE))
+        result <- suppressWarnings(system(cmd,
+                                          ignore.stderr = TRUE, 
+                                          intern = TRUE))
         assignInMyNamespace(".hasDevelTools", is.null(attr(result, "status")))
         
         # if we build successfully then remove the shared library



More information about the Rcpp-commits mailing list