From bc98c6fb95f4209d579695d8dfa740d695186cd9 Mon Sep 17 00:00:00 2001 From: MLopez-Ibanez <2620021+MLopez-Ibanez@users.noreply.github.com> Date: Thu, 5 Oct 2023 07:57:00 +0100 Subject: [PATCH] * .github/workflows/R-CMD-check.yaml: Coverage of dontrun and donttest. --- .github/workflows/R-CMD-check.yaml | 2 +- R/eafplot.R | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 63afcb5..ef24d7b 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -167,7 +167,7 @@ jobs: env: NOT_CRAN: false run: | - covr::codecov(type="all", quiet=FALSE) + covr::codecov(type="all", quiet=FALSE, commentDonttest = FALSE, commentDontrun = FALSE) shell: Rscript {0} pkgdown: diff --git a/R/eafplot.R b/R/eafplot.R index d39f9ae..6158b38 100644 --- a/R/eafplot.R +++ b/R/eafplot.R @@ -78,7 +78,7 @@ eafplot <- function(x, ...) UseMethod("eafplot") #' tabucol$alg <- tabucol$alg[drop=TRUE] #' eafplot(time + best ~ run, data = tabucol, subset = tabucol$inst=="DSJC500.5") #' -#' \dontrun{# These take time +#' \donttest{# These take time #' eafplot(time + best ~ run | inst, groups=alg, data=gcp2x2) #' eafplot(time + best ~ run | inst, groups=alg, data=gcp2x2, #' percentiles=c(0,50,100), cex.axis = 0.8, lty = c(2,1,2), lwd = c(2,2,2), @@ -97,7 +97,7 @@ eafplot <- function(x, ...) UseMethod("eafplot") #' } #' #' ## Using extra.points -#' \dontrun{ +#' \donttest{ #' data(HybridGA) #' data(SPEA2relativeVanzyl) #' eafplot(SPEA2relativeVanzyl, percentiles = c(25, 50, 75),