[Vegan-commits] r2668 - pkg/permute/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Nov 7 23:31:48 CET 2013


Author: gsimpson
Date: 2013-11-07 23:31:48 +0100 (Thu, 07 Nov 2013)
New Revision: 2668

Modified:
   pkg/permute/R/permuplot.R
Log:
permuplot now prints a message about not working and exits without attempting to plot anything

Modified: pkg/permute/R/permuplot.R
===================================================================
--- pkg/permute/R/permuplot.R	2013-11-07 22:26:54 UTC (rev 2667)
+++ pkg/permute/R/permuplot.R	2013-11-07 22:31:48 UTC (rev 2668)
@@ -10,6 +10,10 @@
                         ann = par("ann"),
                         cex = par("cex"),
                         ...) {
+    ## This should just bail with an message
+    message("permuplot does not work with the new permutation designs.\nNo plot will be generated!")
+    invisible()
+
     xy.series <- function(n) {
         angle <- seq(0, 2*pi, length = n+1)[-(n+1)]
         x <- rev(cos(angle))



More information about the Vegan-commits mailing list