Skip to contents

read_rds_safe() tries to read an rds archive present in path. If it cannot, it returns NULL. It uses file_version() to guess whcih arcive is the most recent if more than one ar found.

Usage

read_rds_safe(path, archive)

Arguments

path

character, where to look for the archive.

archive

character, a pattern to find the archive.

Value

A character vector of length the number of lines read.