R/check.name.R

Defines functions check.name

#' @export
check.name <- function(object){
  
  the.name <- deparse(substitute(object))
  if( !exists(the.name) ){
    warning( paste("Object '",the.name,"' not found",sep="") )
    return(FALSE)
  } else {
    return(TRUE)
  }
  
}
nishanmudalige/BOLD.R documentation built on July 15, 2022, 3:33 a.m.