Learn R Programming

rocrateR (version 0.0.1)

bagit_declaration: Generate BagIt declaration

Description

Generate BagIt declaration

Validate BagIt declaration

Usage

bagit_declaration(path, version = "1.0")

.validate_bagit_declaration(path, algo = "sha512", bagit_version = "1.0")

Value

A list with status and errors identified.

Arguments

path

String with path where the BagIt declaration will be stored.

version

String with BagIt version (default: "1.0")/

algo

String with algorithm used to generate the RO-Crate bag (default: "sha512"). See digest for more details.

bagit_version

String with version of BagIt used to generate the RO-Crate bag (default: "1.0"). See tools:::Rd_expr_doi("10.17487/RFC8493") for more details.