Learn R Programming

styler (version 1.7.0)

rds_to_version: Convert a serialized R object to a certain version.

Description

Needed to make testthat::expect_known_value() work on R < 3.6.

Usage

rds_to_version(path, version = 2)

Arguments

path

A path to an rds file.

version

The target version.