Skip to content

Commit

Permalink
Added a couple of do not runs in order to keep the check shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
derek-corcoran-barrios committed Oct 7, 2022
1 parent efcc491 commit cfe4815
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/Extintions.R
Original file line number Diff line number Diff line change
Expand Up @@ -490,12 +490,13 @@ ExtinctionOrder <- function(Network, Order, NetworkType = "Trophic", clust.metho
#'
#' @examples
#' #first example
#' \dontrun{
#' data("More_Connected")
#' RandomExtinctions(Network = More_Connected, nsim = 20)
#'
#' # Using parallel procesing
#' ## Detect your number of cores divide by 2
#' \dontrun{
#'
#' cores <- ceiling(parallel::detectCores()/2)
#'
#' RandomExtinctions(Network = More_Connected, nsim = 20, parallel = TRUE, ncores = cores)
Expand Down Expand Up @@ -619,10 +620,12 @@ RandomExtinctions <- function(Network, nsim = 10,
#' with the observed extinction history.
#'
#' @examples
#' \dontrun{
#' data("Less_Connected")
#' History <- SimulateExtinctions(Network = Less_Connected, Method = "Mostconnected")
#' NullHyp <- RandomExtinctions(Network = Less_Connected, nsim = 100)
#' CompareExtinctions(Nullmodel = NullHyp, Hypothesis = History)
#' }
#' @importFrom broom tidy
#' @importFrom ggplot2 aes
#' @importFrom ggplot2 geom_line
Expand Down

0 comments on commit cfe4815

Please sign in to comment.