Skip to content

Commit 274bcee

Browse files
committed
redocument
1 parent e3dc227 commit 274bcee

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

R/SimCheck.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#' @seealso \code{\link{runArraySimulation}}, \code{\link{SimCollect}}
1919
#'
2020
#' @return returns an invisible list of indices of empty, missing and
21-
#' empty-and-missing row conditions.. If no missing then an empty list is
21+
#' empty-and-missing row conditions. If no missing then an empty list is
2222
#' returned
2323
#'
2424
#' @references
@@ -62,7 +62,7 @@ SimCheck <- function(dir = NULL, files = NULL, min = 1L, max = NULL){
6262
have <- mainlist %in% files
6363
notin <- !have
6464
names(have) <- mainlist
65-
ret <- list()
65+
ret <- list()
6666
if(any(notin)){
6767
ret$Missing_Row_Conditions <- minmax[notin]
6868
warning(sprintf('The following row conditions were missing:\n%s\n',
@@ -78,7 +78,7 @@ SimCheck <- function(dir = NULL, files = NULL, min = 1L, max = NULL){
7878
ret$Empty_Missing_Row_Conditions <- c(minmax[notin], minmax[empty_file]) |>
7979
unique() |>
8080
sort()
81-
} else integer()
81+
}
8282

8383
invisible(ret)
8484
}

R/runArraySimulation.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
#' dir('sim/')
234234
#'
235235
#' # check that all files saved (warnings will be raised if missing files)
236-
#' SimCheck('sim/') |> isTRUE()
236+
#' SimCheck('sim/')
237237
#'
238238
#' condition14 <- readRDS('sim/condition-14.rds')
239239
#' condition14

man/SimCheck.Rd

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/runArraySimulation.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)