handleSanityCheck: Do basic sanity checks on all files (recursively0 in a...

View source: R/handleSanityCheck.R

handleSanityCheckR Documentation

Do basic sanity checks on all files (recursively0 in a folder.

Description

Files are checked with testFile. Any files which fail the test are archived into the file badfiles.zip.NOAUTO in the folder for the top job, and then deleted.

Usage

handleSanityCheck(j)

Arguments

j

the subjob, which has parameters:

  • dir: path to the folder to be checked

Details

If any files fail sanity checks, summary messages are written to the job log.

Value

TRUE if all files pass; FALSE otherwise

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


MotusWTS/motusServer documentation built on Aug. 8, 2024, 10:23 p.m.