What is happening
R documents that save writes named objects with a header, while saveRDS serializes a single object. Files can use gzip, bzip2, xz, or newer zstd compression. Binary transfer changes, truncation, incompatible versions, or damaged compressed streams can block restore.