Deletes any temporary files that are defined in a
qgis_result
object.
These may comprise both input and output files.
Arguments
- x
A
qgis_result
object returned byqgis_run_algorithm()
.
See also
Other topics about accessing or managing processing results:
qgis_as_raster()
,
qgis_as_terra()
,
qgis_extract_output()
,
qgis_result_status()
,
st_as_sf
,
st_as_stars
Examples
result <- qgis_run_algorithm(
"native:buffer",
INPUT = system.file("longlake/longlake_depth.gpkg", package = "qgisprocess"),
DISTANCE = 10
)
#> Argument `SEGMENTS` is unspecified (using QGIS default value).
#> Using `END_CAP_STYLE = "Round"`
#> Using `JOIN_STYLE = "Round"`
#> Argument `MITER_LIMIT` is unspecified (using QGIS default value).
#> Argument `DISSOLVE` is unspecified (using QGIS default value).
#> Argument `SEPARATE_DISJOINT` is unspecified (using QGIS default value).
#> Using `OUTPUT = qgis_tmp_vector()`
file.exists(qgis_extract_output(result))
#> [1] TRUE
qgis_clean_result(result)
file.exists(qgis_extract_output(result))
#> [1] FALSE