Currently, this only tests for validity of a SpatVect file, then if there is a problem, it will run terra::makeValid

fixErrorsTerra(x)

## Arguments

x

The SpatStat or SpatVect object to try to fix.