[Robast-commits] r1088 - pkg/RobAStBase/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Aug 3 00:43:02 CEST 2018


Author: stamats
Date: 2018-08-03 00:43:01 +0200 (Fri, 03 Aug 2018)
New Revision: 1088

Modified:
   pkg/RobAStBase/man/kStepEstimator.Rd
   pkg/RobAStBase/man/qqplot.Rd
Log:
In view of the check results on CRAN move more example code to \donttest

Modified: pkg/RobAStBase/man/kStepEstimator.Rd
===================================================================
--- pkg/RobAStBase/man/kStepEstimator.Rd	2018-08-02 10:28:38 UTC (rev 1087)
+++ pkg/RobAStBase/man/kStepEstimator.Rd	2018-08-02 22:43:01 UTC (rev 1088)
@@ -87,6 +87,8 @@
 %\note{}
 \seealso{\code{\link{IC-class}}, \code{\link{kStepEstimate-class}} }
 \examples{
+## don't run to reduce check time on CRAN
+\donttest{
 if(require(ROptEst)){
 ## 1. generate a contaminated sample
 ind <- rbinom(100, size=1, prob=0.05)
@@ -105,8 +107,6 @@
 pICList(est1)
 start(est1)
 
-## don't run to reduce check time on CRAN
-\donttest{
 ## a transformed model
 tfct <- function(x){
     nms0 <- c("mean","sd")

Modified: pkg/RobAStBase/man/qqplot.Rd
===================================================================
--- pkg/RobAStBase/man/qqplot.Rd	2018-08-02 10:28:38 UTC (rev 1087)
+++ pkg/RobAStBase/man/qqplot.Rd	2018-08-02 22:43:01 UTC (rev 1088)
@@ -125,11 +125,12 @@
 }
 
 \examples{
+## \donttest to reduce check time
+\donttest{
 qqplot(rnorm(40, mean = 15, sd = sqrt(30)), Chisq(df=15))
 RobM <- InfRobModel(center = NormLocationFamily(mean=13,sd=sqrt(28)),
                     neighbor = ContNeighborhood(radius = 0.4))
-\donttest{
-## \donttest to reduce check time
+
 x <- rnorm(20, mean = 15, sd = sqrt(30))
 qqplot(x, RobM)
 qqplot(x, RobM, alpha.CI=0.9, add.points.CI=FALSE)



More information about the Robast-commits mailing list