check_features: Check the validity of an 'fluvgeo' 'features' data structure

View source: R/check_features.R

check_featuresR Documentation

Check the validity of an 'fluvgeo' 'features' data structure

Description

Checks that the input data structure 'features' meets the requirements for this data structure.

Usage

check_features(features)

Arguments

features

sf object; a 'features' data structure used by the fluvgeo package.

Value

Returns TRUE if the 'features' data structure matches the requirements. The function throws an error for a data structure not matching the data specification. Returns errors describing how the the data structure doesn't match the requirement.


FluvialGeomorph/fluvgeo documentation built on April 12, 2024, 5:35 p.m.