View source: R/postProcessTo.R
fixErrorsIn | R Documentation |
terra
Currently, this only tests for validity of a SpatVect file, then if there is a problem,
it will run terra::makeValid
fixErrorsIn(
x,
error = NULL,
verbose = getOption("reproducible.verbose"),
fromFnName = ""
)
x |
The SpatStat or SpatVect object to try to fix. |
error |
The error message, e.g., coming from |
verbose |
Numeric, -1 silent (where possible), 0 being very quiet,
1 showing more messaging, 2 being more messaging, etc.
Default is 1. Above 3 will output much more information about the internals of
Caching, which may help diagnose Caching challenges. Can set globally with an
option, e.g., |
fromFnName |
The function name that produced the error, e.g., |
An object of the same class as x
, but with some errors fixed via terra::makeValid()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.