Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure use_data() uses version 2 #675

Closed
hadley opened this issue Mar 30, 2019 · 0 comments
Closed

Make sure use_data() uses version 2 #675

hadley opened this issue Mar 30, 2019 · 0 comments

Comments

@hadley
Copy link
Member

@hadley hadley commented Mar 30, 2019

So we don’t accidentally add a dependency on 3.6 (https://twitter.com/hrbrmstr/status/1111934406590169088)

@jennybc jennybc added this to the v1.5.0 milestone Mar 31, 2019
jennybc added a commit that referenced this issue Apr 5, 2019
Closes #675

From R News:
https://cran.r-project.org/doc/manuals/r-devel/NEWS.html

CHANGES IN R 3.6.0

SIGNIFICANT USER-VISIBLE CHANGES

Serialization format version 3 becomes the default for serialization and saving of the workspace (save(), serialize(), saveRDS(), compiler::cmpfile()). Serialized data in format 3 cannot be read by versions of R prior to version 3.5.0. Serialization format version 2 is still supported and can be selected by version = 2 in the save/serialization functions. The default can be changed back for the whole R session by setting environment variables R_DEFAULT_SAVE_VERSION and R_DEFAULT_SERIALIZE_VERSION to 2. For maximal back-compatibility, files ‘vignette.rds’ and ‘partial.rdb’ generated by R CMD build are in serialization format version 2, and resave by default produces files in serialization format version 2 (unless the original is already in format version 3).
@jennybc jennybc closed this in #702 Apr 5, 2019
jennybc added a commit that referenced this issue Apr 5, 2019
Closes #675

From R News:
https://cran.r-project.org/doc/manuals/r-devel/NEWS.html

CHANGES IN R 3.6.0

SIGNIFICANT USER-VISIBLE CHANGES

Serialization format version 3 becomes the default for serialization and saving of the workspace (save(), serialize(), saveRDS(), compiler::cmpfile()). Serialized data in format 3 cannot be read by versions of R prior to version 3.5.0. Serialization format version 2 is still supported and can be selected by version = 2 in the save/serialization functions. The default can be changed back for the whole R session by setting environment variables R_DEFAULT_SAVE_VERSION and R_DEFAULT_SERIALIZE_VERSION to 2. For maximal back-compatibility, files ‘vignette.rds’ and ‘partial.rdb’ generated by R CMD build are in serialization format version 2, and resave by default produces files in serialization format version 2 (unless the original is already in format version 3).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants