diff --git a/R/pathwayRes-class.R b/R/pathwayRes-class.R
index cf65d4d6e15fb39b2fb9b37b1c69338da80d836b..541e8fee34ed21d81a72efa173ddb941d2440272 100644
--- a/R/pathwayRes-class.R
+++ b/R/pathwayRes-class.R
@@ -51,7 +51,7 @@ print.pathwayRes <- function(x, ...) {
 #' \code{"none"} (no color)
 #' @importFrom factoextra fviz_pca_ind fviz_eig fviz_pca_var
 #' @examples 
-#' \dontrun{
+#' \donttest{
 #' plot(out_test)
 #' plot(out_test, "mmu00052", plot = "var")
 #' plot(out_test, "mmu00052", plot = "ind", habillage = "Age")
diff --git a/man/pathwayRes.Rd b/man/pathwayRes.Rd
index 3439f0b9064724e8d549f333f5e1c89b39b0b018..43a7e1564200cfdbae8979e4e5a5d690084aabc8 100644
--- a/man/pathwayRes.Rd
+++ b/man/pathwayRes.Rd
@@ -78,7 +78,7 @@ out_test <- test_pathway(quantif, design, pathways,
                          npc = 2, model = "blmer")
 summary(out_test)
 print(out_test)
-\dontrun{
+\donttest{
 plot(out_test)
 plot(out_test, "mmu00052", plot = "var")
 plot(out_test, "mmu00052", plot = "ind", habillage = "Age")