all_files_exist: Check if all specified files exist

Description Usage Arguments Details Value Examples

View source: R/utils.r

Description

This function checks the existence of all files stored in a vector or a list.

Usage

1

Arguments

x

a vector or list of files.

Details

all_files_exist is a simple shorthand around base::file.exists wrapped with an additional base::all to return a single value. This makes this function useful when checking that all files required for or created by some function exist.

Value

a logical value indicating if all files exist.

Examples

1
2
3
4

bioDS/phyloRNA documentation built on Feb. 21, 2022, 3:28 p.m.