Skip to content

Releases: ropensci/datapack

datapack 1.4.2

10 Oct 20:03

Choose a tag to compare

Bugs Fixed

  • Update documentation to address CRAN notes by @villegar in #142
  • fix documentation issues for CRAN by @mbjones in #144
  • Improved GHA workflows for R-CMD check workflow to run full CRAN checks
  • Fixed various spelling, URL, and documentation issues

New features

None, just a patch release.

New Contributors

Full Changelog: 1.4.1...1.4.2

datapack 1.4.1

10 Jun 22:15

Choose a tag to compare

BUGS

  • Remove LazyData from DESCRIPTION (#132)
  • Remove dependency on hash package (#133)
  • Replace instances of if (class(...)) with inherits(...) (#136)

NEW FEATURES

  • Refactor BagIt serialization to match new specification (#109)

datapack 1.4.0

19 Nov 23:25

Choose a tag to compare

BUGS

  • Handle dc:creator in resource map properly (#116)

NEW FEATURES

  • Use SHA-256 as the default hash algorithm (#117)
  • Added 'checksumAlgorithm' argument to DataObject initialization method (#117)
  • Update tests for compatibility with testthat 3e (#125)
  • Added 'targetPath' argument to DataObject to set 'prov:atLocation' for an object (#109)

datapack 1.3.2

21 Oct 16:40

Choose a tag to compare

BUGS

  • Ensure that a 'dc:creator' element is always present (#93)
  • Ensure that the resource map dcterms:modified time is always present/updated. (#93)
  • Ensure that a DataPackage is marked as updated after addAccessRule, setPublicAccess, clearAccessPolicy methods called (#92).
  • Remove dependency on redland::getNextResult (#110)

NEW FEATURES

  • Added function removeRelationships() which can remove all or specified relationships from a DataPackage (#99)

datapack 1.3.1

14 Sep 22:27

Choose a tag to compare

The datapack 1.3.1 release fixes a critical bug in updateMetadata() that would cause package relationships for the metadata object to be lost.

datapack 1.3.0

03 Aug 16:07

Choose a tag to compare

The datapack 1.3.0 release adds new functionality to enhance support for modifying DataObjects that have been added to a DataPackage. This new functionality is included in methods removeMember, replaceMember, selectMember, updateRelationships, updateMetadata, getValue, setValue. Also, methods that modify access policies can now operate on DataPackages, DataObjects or SystemMetadata directly. These functions include removeAccess, hasAccess, clearAccessPolicy, addAccessRule, setPublicAccess.

Bug fixes include now ensuring that resource maps have valid XML names for blank node identifiers, and resource maps always include an RDF relationship identifyign the package creator and package modification time.

datapack 1.2.0

17 Apr 18:33

Choose a tag to compare

The datapack 1.2.0 release adds new functionality with methods clearAccessPolicy to
remove all access rules from a SystemMetadata object, describeWorkflow to add
provenance relationships to a DataPackage, and show methods to display a formatted
view of data from a DataObject or a DataPackage. Bug fixes include fixing a bug
with the setting of replicationAllowed, setting numberReplicas properly when parsing,
and adding the missing fields mediaType to a DataObject.

datapack 1.0.1

20 May 15:47

Choose a tag to compare

The datapack 1.0.1 patch release fixes an issue where code examples showed usage of the
tmp directory instead of the preferred cross-platform 'tempdir()' function. Also, system metadata
serialization to XML now ensures that access policy permissions are now gathered by subject,
so that <subject> elements only appear once in the <accessPolicy>. While this problem did
not cause any known access problem, it did make e serialized system metadata more difficult to
visually review.

datapack 1.0.0

25 Mar 19:15

Choose a tag to compare

The datapack 1.0.0 release provides an abstraction for collating heterogeneous collections of data objects and metadata into a bundle that can be transported and loaded into a single composite file. The methods in this package provide a convenient way to load data from common repositories such as DataONE into the R environment, and to document, serialize, and save data from R to data repositories worldwide.