Skip to contents

Validates a file's hash against a stored hash in the associated _metadata.json file

Usage

validate_object(file)

Arguments

file

A connection or the name of the file where the R object is saved to or read from

Value

A boolean declaring if the hashes are equal or not

Examples

if (FALSE) { # \dontrun{
tables.path  <- "OUTPUTS/tables"
out_name <- "01-12345-pk-theoph.csv"

validate_object(file = file.path(tables.path, out_name))
} # }