build-package/install_save_deps.R

# install packages necessary to build the package code
# install.packages(c("remotes", "desc", "glue", "readr", "purrr", "stringr", "here",
#                    "fs", "knitr", "rmarkdown", "devtools", "pkgdown", "progress", "dplyr"))

# remotes::install_github("r-spatial/qgisprocess", upgrade="ask")

# save files withe dependencies
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
JanCaha/r_package_qgis documentation built on Nov. 3, 2024, 5:25 p.m.