check_file: Run basic checks on input file

View source: R/file_helper.R

check_fileR Documentation

Run basic checks on input file

Description

Checks that path is a file, that the file exists, the file can be read and that the file is not empty.

Usage

check_file(file = NULL, ignore_empty = FALSE)

Arguments

file

the path of the file which is being checked.

ignore_empty

whether to ignore empty file check.

Value

Boolean


cancerit/RCRISPR documentation built on April 26, 2023, 10:12 p.m.