aw_validate_preview is designed to be called by aw_preview_weights before the weights are calculated. It lacks the variable validation functionality of ar_validate.

aw_validate_preview(source, target)

Arguments

source

A sf object with data to be interpolated

target

A sf object that data should be interpolated to

Value

If verbose is FALSE, a logical scalar is returned that is TRUE is all tests are passed and FALSE if one or more tests is failed. If verbose is TRUE, a tibble with detailed test results is returned.