Learn R Programming

datapack (version 1.4.1)

initialize,DataPackage-method: Initialize a DataPackage object.

Description

Initialize a DataPackage object.

Usage

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

Arguments

.Object

The object being initialized

packageId

The package id to assign to the package

See Also

DataPackage-class

Examples

Run this code
# NOT RUN {
# 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")
# }

Run the code above in your browser using DataLab