R/files.R

Defines functions checkFileExists

Documented in checkFileExists

#' Title
#'
#' @param filename
#'
#' @return
#' @export
#'
#' @examples
checkFileExists <- function(filename)
{
  if (!file.exists(filename))
    R.oo::throw(concat('file does not exist: ',filename))
}
#checkFileExists('test.txt')
hcnh174/hlsgr documentation built on April 7, 2023, 4:02 p.m.