diff --git a/NEWS.md b/NEWS.md index 3d99f21..a007e52 100644 --- a/NEWS.md +++ b/NEWS.md @@ -12,7 +12,7 @@ ## Other -* Added license GPL (>=2). +* Added license statement GPL (>=2). * Expand README, adding an example with conditional simulation. diff --git a/R/powerPlot.R b/R/powerPlot.R index ab553b2..5e27b50 100644 --- a/R/powerPlot.R +++ b/R/powerPlot.R @@ -95,6 +95,8 @@ #' # Different plot type, not dependent of `threshold` #' powerPlot(ep, ip, size = 2, type = 3) #' +#' +#' \donttest{ #' ### Example 2: Exploring powers for different sets of available relatives #' #' # Create trio pedigree @@ -113,6 +115,7 @@ #' # Power plot 1: EP vs IP #' powerPlot(simData, type = 1) #' powerPlot(simData, type = 1, minorpoints = FALSE, hline = 0.8) +#' } #' #' \donttest{ #' diff --git a/man/powerPlot.Rd b/man/powerPlot.Rd index 42f1f93..717b980 100644 --- a/man/powerPlot.Rd +++ b/man/powerPlot.Rd @@ -137,6 +137,8 @@ powerPlot(ep, ip, size = 2) # Different plot type, not dependent of `threshold` powerPlot(ep, ip, size = 2, type = 3) + +\donttest{ ### Example 2: Exploring powers for different sets of available relatives # Create trio pedigree @@ -155,6 +157,7 @@ simData = MPPsims(ref, selections = sel, nProfiles = 3, lrSims = 5, # Power plot 1: EP vs IP powerPlot(simData, type = 1) powerPlot(simData, type = 1, minorpoints = FALSE, hline = 0.8) +} \donttest{