checkSetup(object, quiet = FALSE)preProcess, see intamap-packagecheckSetup is a function that makes certain tests on the intamap object to
make sure that it is suited for interpolation. Particularly, it will issue a warning
or an error if one of the following conditions are met:
observationsis not an element ofobjectobservationscontain less than 20 observationsformulaStringis not an element ofobjectobservationshas a name that corresponds to the independent variable offormulaStringpredictionLocationsis not an element ofobjectpredictionLocationsis not aSpatialobjecttargetCRSis given, butobservationsandpredictionLocationsdo not have CRS setaddBiasincludes biases that are not part ofremoveBiaspredictionLocations
and observations share a small region. This warning is given as it is
a likely cause of errors, although it can also happen if predictionLocations
are limited to one small cluster.