Skip to contents

Initialize a DataPackage object.

Usage

# S4 method for class 'DataPackage'
initialize(.Object, packageId)

Arguments

.Object

The object being initialized

packageId

The package id to assign to the package

Examples

# Create a DataPackage with undefined package id (to be set manually later)
pkg <- new("DataPackage")
# Alternatively, manually assign the package id when the DataPackage object is created
pkg <- new("DataPackage", "urn:uuid:4f953288-f593-49a1-adc2-5881f815e946")