Checks that the output of the `slope_sinuosity` function is valid.

check_slope_sinuosity(slope_sinuosity_df)

Arguments

slope_sinuosity_df

data frame; a data frame produced by the `slope_sinousity` functionv.

Value

Returns TRUE if the `slope_sinuosity_df` data frame 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.