Skip to content

Commit fd41321

Browse files
committed
Update check.R
1 parent 7544f08 commit fd41321

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/check.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
#' @author Sander Devisscher
44
#'
55
#' @description
6-
#' Helper script to determine existance in environment panel
6+
#' Helper script to determine existence in environment panel
77
#'
88
#' @param x environment object
99
#'
1010
#' @returns
11-
#' 1 = object exists in enviroment
12-
#' 0 = object doesn't exist in enviroment
11+
#' 1 = object exists in environment
12+
#' 0 = object doesn't exist in environment
1313

1414

1515
check <- function(x){tryCatch(if(is.logical(class(x))) 1 else 1, error=function(e) 0)}

0 commit comments

Comments
 (0)