check_files_folder: checks the content of a folder

View source: R/utils.R

check_files_folderR Documentation

checks the content of a folder

Description

It checks the extension of files in a folder. It also count the unexpected files.

Usage

check_files_folder(path, ext, verbose = TRUE, out = "summary_files")

Arguments

path

the path

ext

a vector of expected extensions of expected files

verbose

if TRUE displays some messages related to the check

out

all_files for a list of all files, summary_files for a summary or misplaced_files for a list of misplaced files

Value

all_files, missplaced files, or dataframe summary


c1au6i0/labor documentation built on July 23, 2022, 5:31 p.m.