qgis_clean_result function

Clean processing results

Clean processing results

Deletes any temporary files that are defined in a qgis_result object. These may comprise both input and output files.

qgis_clean_result(x)

Arguments

  • x: A qgis_result object returned by qgis_run_algorithm().

Returns

The qgis_result object passed to the function is returned invisibly.

Examples

result <- qgis_run_algorithm( "native:buffer", INPUT = system.file("longlake/longlake_depth.gpkg", package = "qgisprocess"), DISTANCE = 10 ) file.exists(qgis_extract_output(result)) qgis_clean_result(result) file.exists(qgis_extract_output(result))

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