Run QGIS algorithms. See the QGIS docs for a detailed description of the algorithms provided 'out of the box' on QGIS (versions >= 3.14).
qgis_has_algorithm(algorithm)
qgis_algorithms(query = FALSE, quiet = TRUE)
qgis_has_provider(provider, query = FALSE, quiet = TRUE)
qgis_providers(provider)
assert_qgis_algorithm(algorithm)
A qualified algorithm name (e.g., "native:filedownloader") or a path to a QGIS model file.
Use TRUE
to refresh the cached value.
Use TRUE
to suppress output from processing algorithms.
A provider identifier (e.g., "native")
if (has_qgis()) qgis_has_algorithm("native:filedownloader")
#> [1] TRUE
if (has_qgis()) qgis_algorithms()
#> # A tibble: 349 × 27
#> provi…¹ provi…² algor…³ algor…⁴ algor…⁵ provi…⁶ can_c…⁷ depre…⁸ group has_k…⁹
#> <chr> <chr> <chr> <chr> <chr> <chr> <lgl> <lgl> <chr> <lgl>
#> 1 3d QGIS (… 3d:tes… tessel… Tessel… 3d TRUE FALSE Vect… FALSE
#> 2 gdal GDAL gdal:a… aspect Aspect gdal TRUE FALSE Rast… FALSE
#> 3 gdal GDAL gdal:a… assign… Assign… gdal TRUE FALSE Rast… FALSE
#> 4 gdal GDAL gdal:b… buffer… Buffer… gdal TRUE FALSE Vect… FALSE
#> 5 gdal GDAL gdal:b… buildv… Build … gdal TRUE FALSE Rast… FALSE
#> 6 gdal GDAL gdal:b… buildv… Build … gdal TRUE FALSE Vect… FALSE
#> 7 gdal GDAL gdal:c… clipra… Clip r… gdal TRUE FALSE Rast… FALSE
#> 8 gdal GDAL gdal:c… clipra… Clip r… gdal TRUE FALSE Rast… FALSE
#> 9 gdal GDAL gdal:c… clipve… Clip v… gdal TRUE FALSE Vect… FALSE
#> 10 gdal GDAL gdal:c… clipve… Clip v… gdal FALSE FALSE Vect… FALSE
#> # … with 339 more rows, 17 more variables: help_url <chr>, name <chr>,
#> # requires_matching_crs <lgl>, short_description <chr>, tags <list>,
#> # provider_can_be_activated <lgl>, default_raster_file_extension <chr>,
#> # default_vector_file_extension <chr>, provider_is_active <lgl>,
#> # provider_long_name <chr>, provider_name <chr>,
#> # supported_output_raster_extensions <list>,
#> # supported_output_table_extensions <list>, …
if (has_qgis()) qgis_has_provider("native")
#> [1] TRUE
if (has_qgis()) qgis_providers()
#> # A tibble: 4 × 2
#> provider provider_title
#> <chr> <chr>
#> 1 3d QGIS (3D)
#> 2 gdal GDAL
#> 3 native QGIS (native c++)
#> 4 qgis QGIS