[Distr-commits] r1204 - in branches/distr-2.8/pkg: distr/man distrMod/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jul 13 19:39:43 CEST 2018


Author: ruckdeschel
Date: 2018-07-13 19:39:43 +0200 (Fri, 13 Jul 2018)
New Revision: 1204

Modified:
   branches/distr-2.8/pkg/distr/man/MinMaximum-methods.Rd
   branches/distr-2.8/pkg/distr/man/operators-methods.Rd
   branches/distr-2.8/pkg/distr/man/qqplot.Rd
   branches/distr-2.8/pkg/distrMod/man/MDEstimator.Rd
Log:
branch 2.8: moved some examples from dontrun to donttest

Modified: branches/distr-2.8/pkg/distr/man/MinMaximum-methods.Rd
===================================================================
--- branches/distr-2.8/pkg/distr/man/MinMaximum-methods.Rd	2018-07-13 17:34:57 UTC (rev 1203)
+++ branches/distr-2.8/pkg/distr/man/MinMaximum-methods.Rd	2018-07-13 17:39:43 UTC (rev 1204)
@@ -79,7 +79,7 @@
 plot(Maximum(Unif(0,1), Minimum(Unif(0,1), Unif(0,1))))
 plot(Minimum(Exp(4),4))
 ## a sometimes lengthy example...
-\dontrun{plot(Minimum(Norm(),Pois()))}
+\donttest{plot(Minimum(Norm(),Pois()))}
 }
 \keyword{distribution}
 \keyword{methods}

Modified: branches/distr-2.8/pkg/distr/man/operators-methods.Rd
===================================================================
--- branches/distr-2.8/pkg/distr/man/operators-methods.Rd	2018-07-13 17:34:57 UTC (rev 1203)
+++ branches/distr-2.8/pkg/distr/man/operators-methods.Rd	2018-07-13 17:39:43 UTC (rev 1204)
@@ -328,7 +328,7 @@
 N / a + sin( a * P - N)
 N * P
 N / N
-\dontrun{
+\donttest{
 ## takes a little time
 N ^ P
 }

Modified: branches/distr-2.8/pkg/distr/man/qqplot.Rd
===================================================================
--- branches/distr-2.8/pkg/distr/man/qqplot.Rd	2018-07-13 17:34:57 UTC (rev 1203)
+++ branches/distr-2.8/pkg/distr/man/qqplot.Rd	2018-07-13 17:39:43 UTC (rev 1204)
@@ -147,7 +147,7 @@
 P <- Pois(5)
 B <- Binom(size=2000,prob=5/2000)
 qqplot(B,P)
-\dontrun{
+\donttest{
 ## takes too much time for R CMD check --as-cran
 qqplot(B,P, nosym.pCI=TRUE)
 }
@@ -157,7 +157,7 @@
 mylist2 <- mylist+0.1
 qqplot(mylist,mylist2)
 qqplot(mylist,mylist2,exact.pCI=FALSE,exact.sCI=FALSE)
-\dontrun{
+\donttest{
 ## takes too much time for R CMD check --as-cran
 qqplot(mylist,mylist2,nosym.pCI=TRUE)
 ## some ac. distribution with a gap

Modified: branches/distr-2.8/pkg/distrMod/man/MDEstimator.Rd
===================================================================
--- branches/distr-2.8/pkg/distrMod/man/MDEstimator.Rd	2018-07-13 17:34:57 UTC (rev 1203)
+++ branches/distr-2.8/pkg/distrMod/man/MDEstimator.Rd	2018-07-13 17:39:43 UTC (rev 1204)
@@ -88,7 +88,9 @@
 ## von Mises minimum distance estimator with default mu
 MDEstimator(x = x, ParamFamily = G, distance = CvMDist)
 
-\dontrun{
+\donttest{
+## taken out of CRAN-tests because it takes some time...
+
 ## von Mises minimum distance estimator with default mu
 MDEstimator(x = x, ParamFamily = G, distance = CvMDist,
             asvar.fct = .CvMMDCovariance)
@@ -100,7 +102,7 @@
 ## gamma distributions are discretized
 MDEstimator(x = x, ParamFamily = G, distance = TotalVarDist)
 ## or smoothing of emprical distribution (takes some time!)
-#MDEstimator(x = x, ParamFamily = G, distance = TotalVarDist, asis.smooth.discretize = "smooth")
+MDEstimator(x = x, ParamFamily = G, distance = TotalVarDist, asis.smooth.discretize = "smooth")
 
 ## Hellinger minimum distance estimator
 ## gamma distributions are discretized
@@ -108,7 +110,7 @@
 MDEstimator(x = x, ParamFamily = G, distance = HellingerDist, startPar = c(1,2))
 distroptions(DistrResolution = 1e-6) # default
 ## or smoothing of emprical distribution (takes some time!)
-#MDEstimator(x = x, ParamFamily = G, distance = HellingerDist, asis.smooth.discretize = "smooth")
+MDEstimator(x = x, ParamFamily = G, distance = HellingerDist, asis.smooth.discretize = "smooth")
 }
 }
 \keyword{univar}



More information about the Distr-commits mailing list