diff --git a/DESCRIPTION b/DESCRIPTION index eff2fcf..e7e0081 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -36,7 +36,7 @@ Description: Partial R implementation of the BAPS software License: GPL-3 Encoding: UTF-8 LazyData: true -RoxygenNote: 7.1.0 +RoxygenNote: 7.1.1 Suggests: testthat (>= 2.1.0) Imports: diff --git a/R/find.R b/R/find.R index 45559c2..788b6ec 100644 --- a/R/find.R +++ b/R/find.R @@ -2,9 +2,9 @@ #' @description Emulates behavior of `find` #' @param x object or logic operation on an object find <- function(x) { - if (is.logical(x)) { - return(which(x)) - } else { - return(which(x > 0)) - } + if (is.logical(x)) { + return(which(x)) + } else { + return(which(x > 0)) + } } \ No newline at end of file