Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 23 Jun 2014 15:18:25 +0200
Description: One test of the test suite is requiring the gpclib GNU R
 package with non-free license.  It is available from
  http://cran.r-project.org/web/packages/gpclib/
 and the Debian packaging available from
  svn://svn.debian.org/debian-science/packages/R/r-cran-gpclib/trunk/
 could be used to create a Debian package from this code.
 .
 Since we can not rely from non-free software the test in question is
 excluded by this patch.

--- a/tests/testthat/test-polyCub.R
+++ b/tests/testthat/test-polyCub.R
@@ -18,7 +18,9 @@ sd <- 3
 
 ## exact value of the integral over the _polygonal_ circle
 intExact <- 0.65844436
-if (requireNamespace("mvtnorm") && gpclibPermit()) {
+# if (requireNamespace("mvtnorm") && gpclibPermit()) {
+# Skip this test since gpclib is non-free
+if ( 0 == 1 ) {
     ## run this conditionally since gpclib might not be available on all
     ## platforms (as pointed out by Uwe Ligges, 2014-04-20)
     test_that("polyCub.exact.Gauss returns validated result", {
