ropensci / datapack

An R package to handle data packages
https://docs.ropensci.org/datapack
44 stars 9 forks source link

Error when calling SystemMetadata() for sysmeta without access policy #50

Closed gothub closed 8 years ago

gothub commented 8 years ago

When the sysmeta xml is parsed, the following error occurs when the access policy is checked:

  no applicable method for 'xmlChildren' applied to an object of class "NULL"

BTW this problem can be see in the dataone package when a sysmeta w/o access policy is uploaded, then getSystemMetadata() is called.

gothub commented 8 years ago

Fixed in commit e5fd8dd78001d8b0c30e46ea5635ffda291d3154