diff --git a/DESCRIPTION b/DESCRIPTION index 15160176..48a0cfde 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -40,7 +40,6 @@ Imports: qs2, stats Suggests: - snow, knitr, ggplot2, tidyr, diff --git a/R/runSimulation.R b/R/runSimulation.R index fa526c68..50b72cd4 100644 --- a/R/runSimulation.R +++ b/R/runSimulation.R @@ -276,7 +276,7 @@ #' \code{parallel} is used, however the overhead that tags along with parallel processing #' results in higher processing times than simply running the simulation with one core. #' -#' @param cl cluster object defined by \code{\link{makeCluster}} used to run code in parallel +#' @param cl cluster object defined by \code{\link[parallel]{makeCluster}} used to run code in parallel #' (ignored if using the \code{\link[future]{future}} package approach). #' If \code{NULL} and \code{parallel = TRUE}, a local cluster object will be defined which #' selects the maximum number cores available @@ -675,7 +675,7 @@ #' @param seed a vector or list of integers to be used for reproducibility. #' The length of the vector must be equal the number of rows in \code{design}. #' If the input is a vector then \code{\link{set.seed}} or -#' \code{\link{clusterSetRNGStream}} for each condition will be called, respectively. +#' \code{\link[parallel]{clusterSetRNGStream}} for each condition will be called, respectively. #' If a list is provided then these #' numbers must have been generated from \code{\link{genSeeds}}. The list approach #' ensures random number generation independence across conditions and replications, diff --git a/man/runSimulation.Rd b/man/runSimulation.Rd index 972c4801..b1ef41c4 100644 --- a/man/runSimulation.Rd +++ b/man/runSimulation.Rd @@ -325,7 +325,7 @@ extracted using \code{SimExtract(res, 'prepare_error_seed')}. Default is \code{N \code{\link[future]{future}} package approach). Default uses all available minus 1 or \code{replications}, whichever is smaller} -\item{cl}{cluster object defined by \code{\link{makeCluster}} used to run code in parallel +\item{cl}{cluster object defined by \code{\link[parallel]{makeCluster}} used to run code in parallel (ignored if using the \code{\link[future]{future}} package approach). If \code{NULL} and \code{parallel = TRUE}, a local cluster object will be defined which selects the maximum number cores available @@ -381,7 +381,7 @@ object export issues} \item{seed}{a vector or list of integers to be used for reproducibility. The length of the vector must be equal the number of rows in \code{design}. If the input is a vector then \code{\link{set.seed}} or -\code{\link{clusterSetRNGStream}} for each condition will be called, respectively. +\code{\link[parallel]{clusterSetRNGStream}} for each condition will be called, respectively. If a list is provided then these numbers must have been generated from \code{\link{genSeeds}}. The list approach ensures random number generation independence across conditions and replications,