Ensure 0-length character vectors are correctly deserialized (closes #13) #18

Merged
merged 2 commits into from Sep 1, 2016

Projects

None yet

2 participants

@oliverbock

unlist() will not give the vector the correct type when it is called on an empty list (see Issue #13). This coerces the vectors to the correct type. (This should also affect complex, so I applied the fix to it too.)

@eddelbuettel
Owner
eddelbuettel commented Sep 1, 2016 edited

Thanks, that looks good to me. Thoughts, @murraystokely ?

@eddelbuettel eddelbuettel changed the title from Issue #13: Ensure 0-length character vectors are correctly deserialized to Ensure 0-length character vectors are correctly deserialized (closes #13) Sep 1, 2016
@eddelbuettel eddelbuettel merged commit 5c34668 into eddelbuettel:master Sep 1, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@eddelbuettel eddelbuettel added a commit that referenced this pull request Sep 1, 2016
@eddelbuettel ChangeLog and News for #18 6d8ae7a
@eddelbuettel
Owner

@oliverbock Added a ChangeLog and NEWS entry; 6d8ae7a
if you want an email address logged send me one by email (or just add it here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment