[Distr-commits] r1282 - in branches/distr-2.8/pkg/distr: R inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Aug 16 14:31:54 CEST 2018


Author: ruckdeschel
Date: 2018-08-16 14:31:54 +0200 (Thu, 16 Aug 2018)
New Revision: 1282

Modified:
   branches/distr-2.8/pkg/distr/R/0pre270.R
   branches/distr-2.8/pkg/distr/inst/NEWS
Log:
[distr] branch 2.8
Bernhard discovered a bug in devNew() -- it opened new devices even if option("newDevice"==FALSE)

Modified: branches/distr-2.8/pkg/distr/R/0pre270.R
===================================================================
--- branches/distr-2.8/pkg/distr/R/0pre270.R	2018-08-16 11:50:49 UTC (rev 1281)
+++ branches/distr-2.8/pkg/distr/R/0pre270.R	2018-08-16 12:31:54 UTC (rev 1282)
@@ -26,8 +26,8 @@
                              grDevices::dev.off(which=grDevices::dev.list()[2])
                       }
                   }
+                  dev.new(...)
                }
-               dev.new(...)
            }
         }
     }

Modified: branches/distr-2.8/pkg/distr/inst/NEWS
===================================================================
--- branches/distr-2.8/pkg/distr/inst/NEWS	2018-08-16 11:50:49 UTC (rev 1281)
+++ branches/distr-2.8/pkg/distr/inst/NEWS	2018-08-16 12:31:54 UTC (rev 1282)
@@ -37,7 +37,7 @@
   
 bug fixes
 + fixed a (newly introduced) bug in exp() for DiscreteDistribution -- forgot to return obj ...
-  
++ Bernhard discovered a bug in devNew() -- it opened new devices even if option("newDevice"==FALSE)  
 ##############
 v 2.7
 ##############



More information about the Distr-commits mailing list