From 1b53e3a59e98149e691f3d0ce2137523bec85331 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Tue, 29 May 2018 14:31:43 +0200
Subject: [PATCH] fix for CRAN

---
 pkg/DESCRIPTION  | 3 ++-
 pkg/R/multiRun.R | 2 +-
 pkg/R/plot.R     | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/pkg/DESCRIPTION b/pkg/DESCRIPTION
index e1050a3..5999b58 100644
--- a/pkg/DESCRIPTION
+++ b/pkg/DESCRIPTION
@@ -3,7 +3,8 @@ Title: Estimate Parameters of Mixtures of Logistic Regressions
 Description: Mixture of lOgistic Regressions Parameters (H)Estimation with
     (U)Spectral methods. The main methods take d-dimensional inputs and a vector
     of binary outputs, and return parameters according to the GLMs mixture model
-    (please refer to the package vignette).
+    (General Linear Model). For more details see chapter 3 in the PhD thesis of
+		Mor-Absa Loum: http://www.theses.fr/s156435
 Version: 0.2-0
 Author: Benjamin Auder <Benjamin.Auder@math.u-psud.fr> [aut,cre],
     Mor-Absa Loum <Mor-Absa.Loum@math.u-psud.fr> [aut]
diff --git a/pkg/R/multiRun.R b/pkg/R/multiRun.R
index 1cebaab..fefdd34 100644
--- a/pkg/R/multiRun.R
+++ b/pkg/R/multiRun.R
@@ -17,7 +17,7 @@
 #' @return A list of nf aggregates of N results (matrices).
 #'
 #' @examples
-#' \dontrun{
+#' \donttest{
 #' β <- matrix(c(1,-2,3,1),ncol=2)
 #'
 #' # Bootstrap + computeMu, morpheus VS flexmix ; assumes fargs first 3 elts X,Y,K
diff --git a/pkg/R/plot.R b/pkg/R/plot.R
index 265f1cd..47a3a5c 100644
--- a/pkg/R/plot.R
+++ b/pkg/R/plot.R
@@ -21,7 +21,7 @@ extractParam <- function(mr, x=1, y=1)
 #' @param y Column index of the element inside the aggregated parameter
 #'
 #' @examples
-#' \dontrun{
+#' \donttest{
 #' β <- matrix(c(1,-2,3,1),ncol=2)
 #' mr <- multiRun(...) #see bootstrap example in ?multiRun : return lists of mu_hat
 #' μ <- normalize(β)
-- 
2.44.0