Needed to make testthat::expect_known_value() work on R < 3.6.
testthat::expect_known_value()
rds_to_version(path, version = 2)
path
A path to an rds file.
version
The target version.