readRDS_robust: Robust readRDS

Description Usage Arguments Value

View source: R/util.R

Description

Read an RDS file with some checking and restoring from a backup

Usage

1
readRDS_robust(fpath, restore_from_backup = TRUE)

Arguments

fpath

Where to get the rds file from

restore_from_backup

Whether to restore from backup and replace a corrupt file

Value

The object or NULL if the read fails


henfiber/later documentation built on May 20, 2019, 6:46 p.m.