Closed gothub closed 8 years ago
BTW - addData has this same behaviour and will be updated as well.
insertRelationship now returns a DataPackage with commit 551b86d1ff08c15225b0b2a3e8e315e856c4adf3
addData now returns the updated DataPackage with commit 28368f2dcd0b63f4fc82af96f0046911e8b9f0d5
insertRelationships updated a DataObject by updating a slot that contains a hash. This allows the method to work without returning a DataPackage object, so for example, the following works:
Return the updated DataPackage, to prevent confusion and allow for the standard R way of doing things: