Skip to content

Commit

Permalink
configure and drop saga
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Jun 27, 2023
1 parent 59185bd commit ad5e8c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build-package/build_QGIS_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ source(here::here("build-package", "build-functions", "function_runs_on_github_a
# options(qgisprocess.use_json_output = FALSE)

library(qgisprocess)

qgisprocess::qgis_configure()

library(dplyr)

if (!qgisprocess::has_qgis()){
stop("Cannot build package `qgis` because QGIS installation cannot be found. See help for `qgisprocess::qgis_configure()`!")
}

print_plugins()
enable_plugins(c("processing", "grassprovider", "sagaprovider"))
enable_plugins(c("processing", "grassprovider"))
print_plugins()

qgis_configure(use_cached_data = FALSE)
Expand Down

0 comments on commit ad5e8c6

Please sign in to comment.