Abort if the parameter x is not of class wastd_data

verify_odkc_turtledata(x)

Arguments

x

An object of S3 class wastd_data, e.g. the output of wastdr::download_wastd_turtledata(), optionally filtered to a locality by wastdr::filter_wastd_turtledata(area_name="Thevenard Island").

Examples

if (FALSE) {
data(odkc_data)
verify_odkc_turtledata(odkc_data)
testthat::expect_error(verify_odkc_turtledata(NULL))
testthat::expect_error(verify_odkc_turtledata(c(1, 2, 3)))
}