check_presence: Check for the presence of an element

View source: R/checks.R

check_presenceR Documentation

Check for the presence of an element

Description

This function checks for the presence of an element in a metadata file. Specifically, this function returns a SUCCESS status if one or more elements are present and a FAILURE status if no elements are present.

Usage

check_presence(x)

Arguments

x

(any) Metadata element to check.

Details

Note: Modifies the global environment.

Value

This function is invoked for its side-effect.


NCEAS/metadig-r documentation built on June 17, 2022, 5:09 a.m.