v0.5.0
Biggest changes here:
get_packageshould now return results more similar to what MetacatUI showseml_creatorandeml_contactcan now do more, see below
CHANGED
get_packagenow has an optional argument,file_nameswhich returns the file names for the objects in the package- You can now pass a metadata PID or a resource map PID to
get_package. Previously you could only pass it a metadata PID eml_creatorandeml_contactnow support adding more information than beforeget_all_versionsno longer pretty-prints its output and, instead, returns a vector of the pids in order ofdateUploaded- You can now skip adding EML
otherEntitysections to your package inpublish_updatevia theskip_other_entitiesargument
NEW
is_obsolete: Checks whether an object has been obsoleted by another objectis_authorized: Checks whether an action can be performed by a user on an object. This was written because, at the time of its creation, thedataoneR package didn't support this DataONE API method on Members Nodes. This function should be deprecated in the future.
REMOVED
get_related_pidshas been removed in favor ofget_package
FIXED
- The error you got during calls to
publish_updateabout data objects not having theirfileNameproperties set should now be much more helpful!