R/is_empty.R
is_empty.Rd
Check if a summary statistics file subset is empty.
is_empty(path, error = TRUE, verbose = TRUE)
File path.
Throw an error if the file is empty.
Print messages.
Boolean.
Other general: createDT(), fillNA_CS_PP(), get_nrows(), get_os()
createDT()
fillNA_CS_PP()
get_nrows()
get_os()
tmp <- tempfile() data.table::fwrite(echodata::BST1, tmp) empty <- echodata::is_empty(path = tmp) #> Subset file looks good.