Learn R Programming

icesTAF (version 4.3.0)

check.artifact: Check an Artifact File Entry

Description

Validate an artifact as an export from a TAF repository.

Usage

check.artifact(artifact, check.metadata = TRUE, check.type = TRUE,
  quiet = FALSE)

Arguments

artifact

an artifact object made using artifact.

check.metadata

logical, should the metadata be checked against the ICES Vocabulary database?

check.type

logical, should type specific artifact checks be run?

quiet

logical, should the function be quiet?

Examples

Run this code
if (FALSE) {
sag_file <- system.file("SAG", "sol_27_4.xml", package = "icesTAF")
sag <- artifact(sag_file, type = "SAG", check = FALSE)
check.artifact(sag)
}

Run the code above in your browser using DataLab