[Rd] What is the best way to determine the version of an `.rds`?
jenny@|@bry@n @end|ng |rom gm@||@com
Mon Jul 15 12:01:55 CEST 2019
I am writing a test that consults the serialization version of an `.rds`
An attractive way to get this is:
tools:::get_serialization_version() # reports just version
.Internal(serializeInfoFromConn() # reports much more
but neither is truly exported for public use.
Is there an official, exported way to get the serialization version? It is
possible to get this information with R code yourself, but it doesn't feel
If not, could we have this? It's pretty easy these days to acquire a
version 3 file, without real intent, which risks making the package require
R >= 3.5.
[[alternative HTML version deleted]]
More information about the R-devel