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.)
Issue #13: Ensure 0-length character vectors are correctly deserialized
Ensure that all S4 objects are serialised using native serialisation.…
… Otherwise the S4 flag will be lost.
Thanks, that looks good to me. Thoughts, @murraystokely ?
ChangeLog and News for #18
@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)