[Distr-commits] r791 - branches/distr-2.4/pkg/distr/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Feb 20 15:07:53 CET 2012


Author: ruckdeschel
Date: 2012-02-20 15:07:52 +0100 (Mon, 20 Feb 2012)
New Revision: 791

Modified:
   branches/distr-2.4/pkg/distr/R/0distrOptions.R
Log:
distr: fixed request by B.Ripley as to installed.packages in branch 2.4

Modified: branches/distr-2.4/pkg/distr/R/0distrOptions.R
===================================================================
--- branches/distr-2.4/pkg/distr/R/0distrOptions.R	2012-02-20 14:07:27 UTC (rev 790)
+++ branches/distr-2.4/pkg/distr/R/0distrOptions.R	2012-02-20 14:07:52 UTC (rev 791)
@@ -1,4 +1,4 @@
-.distrExInstalled <- ("distrEx" %in% installed.packages())
+.distrExInstalled <- !all(is.na(packageDescription("distrEx")))
 
 .distroptions <- list(
                       DefaultNrGridPoints = 2^12,



More information about the Distr-commits mailing list