Skip to contents

test_notes() extracts the additionalInfo components of EML metadata. These elements will be used to populate the "Notes" section on the DataStore landing page. If the Notes section is blank, the test fails with a warning. If the notes section contains non-standard characters (such as 
) or more than two consecutive spaces, the test fails with a warning. Otherwise the test passes. For all warnings, the user is advised to use EMLeditor::set_additional_info() to fix the additionalInfo section.

Usage

test_notes(metadata = load_metadata(directory))

Arguments

metadata

The metadata object returned by load_metadata. If parameter is not provided, it defaults to calling load_metadata in the current project directory.

Value

invisible(metadata)

Examples

if (FALSE) { # \dontrun{
test_notes()
} # }