diff --git a/R/sample.R b/R/sample.R index 5f34ccd8..40e8336e 100644 --- a/R/sample.R +++ b/R/sample.R @@ -70,7 +70,7 @@ #' cluster = sbm$memberships #' ) #' } -#' \dontrun{ +#' \donttest{ #' ## SSOOOO long, but fancy #' old_par <- par(mfrow = c(2,3)) #' for (sampling in names(sampling_parameters)) { diff --git a/cran-comments.md b/cran-comments.md index 6ddd7bd3..9f8c2276 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -3,7 +3,7 @@ - fixing reference to authors (year) - fixing capitalization in the Description field -- removing '\dontrun' when appropriate +- removing '\dontrun' in examples - reseting changed options at the end of examples ## Resubmission diff --git a/man/sample.Rd b/man/sample.Rd index d5b3a71d..f7b79225 100644 --- a/man/sample.Rd +++ b/man/sample.Rd @@ -87,7 +87,7 @@ for (sampling in names(sampling_parameters)) { cluster = sbm$memberships ) } -\dontrun{ +\donttest{ ## SSOOOO long, but fancy old_par <- par(mfrow = c(2,3)) for (sampling in names(sampling_parameters)) {