Skip to content

Commit 569d625

Browse files
authored
Merge pull request #228 from r-spatial/maintenance
Maintenance
2 parents b8863a7 + 22e250e commit 569d625

23 files changed

+43
-37
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ jobs:
2424
- {os: windows-latest, qgis: 'none', r: 'oldrel', dep: '', r-pkg-cache: 'v0'}
2525
- {os: windows-latest, qgis: 'none', r: 'release', dep: '', r-pkg-cache: 'v0'}
2626
- {os: windows-latest, qgis: 'none', r: 'devel', dep: '', r-pkg-cache: 'v0'}
27-
- {os: ubuntu-22.04, qgis: 'none', r: 'release', dep: '', r-pkg-cache: 'v0'}
27+
- {os: ubuntu-24.04, qgis: 'none', r: 'release', dep: '', r-pkg-cache: 'v0'}
2828
- {os: macOS-latest, qgis: 'macos-brew', r: 'release', dep: '', r-pkg-cache: 'v0'}
2929
- {os: windows-latest, qgis: 'chocolatey', r: 'release', dep: '', r-pkg-cache: 'v0'}
3030
- {os: windows-latest, qgis: 'chocolatey-ltr', r: 'release', dep: '', r-pkg-cache: 'v0'}
3131
- {os: windows-latest, qgis: 'chocolatey', r: 'devel', dep: '', r-pkg-cache: 'v0'}
32-
- {os: ubuntu-22.04, qgis: 'ubuntu-nightly', r: 'release', dep: '', r-pkg-cache: 'v0'}
33-
- {os: ubuntu-22.04, qgis: 'ubuntu-nightly', r: 'devel', dep: '', r-pkg-cache: 'v0'}
34-
- {os: ubuntu-22.04, qgis: 'ubuntugis', r: 'release', dep: '', r-pkg-cache: 'v1'}
35-
- {os: ubuntu-22.04, qgis: 'ubuntu', r: 'release', dep: '', r-pkg-cache: 'v0'}
36-
- {os: ubuntu-22.04, qgis: 'ubuntu', r: 'release', dep: ' [hard-deps]', r-pkg-cache: 'v3'}
37-
- {os: ubuntu-22.04, qgis: 'ubuntu-ltr', r: 'release', dep: '', r-pkg-cache: 'v0'}
32+
- {os: ubuntu-24.04, qgis: 'ubuntu-nightly', r: 'release', dep: '', r-pkg-cache: 'v0'}
33+
- {os: ubuntu-24.04, qgis: 'ubuntu-nightly', r: 'devel', dep: '', r-pkg-cache: 'v0'}
34+
- {os: ubuntu-24.04, qgis: 'ubuntugis', r: 'release', dep: '', r-pkg-cache: 'v1'}
35+
- {os: ubuntu-24.04, qgis: 'ubuntu', r: 'release', dep: '', r-pkg-cache: 'v0'}
36+
- {os: ubuntu-24.04, qgis: 'ubuntu', r: 'release', dep: ' [hard-deps]', r-pkg-cache: 'v3'}
37+
- {os: ubuntu-24.04, qgis: 'ubuntu-ltr', r: 'release', dep: '', r-pkg-cache: 'v0'}
3838

3939
env:
4040
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
r-version: ${{ matrix.config.r }}
5252
use-public-rspm: true
53-
extra-repositories: https://geocompr.r-universe.dev
53+
extra-repositories: https://geocompx.r-universe.dev
5454

5555
- name: Prepare Ubuntu for installing QGIS (common code)
5656
if: runner.os == 'Linux' && matrix.config.qgis != 'none'
@@ -92,12 +92,12 @@ jobs:
9292
# Add repo to install QGIS LTR (long-term release) for Ubuntu (using an often outdated GRASS release from Ubuntu repo)
9393
sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/qgis-archive-keyring.gpg] https://qgis.org/ubuntu-ltr `lsb_release -c -s` main" > /etc/apt/sources.list.d/qgis.list'
9494
95-
- name: Install QGIS, GRASS, SAGA and the SAGA NextGen plugin (Ubuntu) from preset repos
95+
- name: Install QGIS, GRASS GIS, SAGA and the SAGA NextGen plugin (Ubuntu) from preset repos
9696
if: runner.os == 'Linux' && matrix.config.qgis != 'none'
9797
run: |
98-
# Install QGIS, GRASS, SAGA and the SAGA NextGen plugin (Ubuntu) from preset repos
98+
# Install QGIS, GRASS GIS, SAGA and the SAGA NextGen plugin (Ubuntu) from preset repos
9999
sudo apt-get update
100-
sudo apt-get install -y qgis qgis-plugin-grass saga
100+
sudo apt-get install -y qgis grass-core saga
101101
wget -qO ../sagang_plugin.zip https://plugins.qgis.org/plugins/processing_saga_nextgen/version/$SAGANGV/download/
102102
unzip -q ../sagang_plugin.zip -d ../extra_plugins
103103

.github/workflows/pkgdown.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name: pkgdown
99

1010
jobs:
1111
pkgdown:
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
env:
1414
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1515
SAGANGV: 0.0.7
@@ -21,7 +21,7 @@ jobs:
2121
- uses: r-lib/actions/setup-r@v2
2222
with:
2323
use-public-rspm: true
24-
extra-repositories: https://geocompr.r-universe.dev
24+
extra-repositories: https://geocompx.r-universe.dev
2525

2626
- name: Dynamically set QGIS_PLUGINPATH environment var (available to next steps)
2727
run: |

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ License: GPL (>= 3)
3030
URL: https://r-spatial.github.io/qgisprocess/,
3131
https://github.com/r-spatial/qgisprocess
3232
BugReports: https://github.com/r-spatial/qgisprocess/issues
33-
Depends: R (>= 3.6.0)
33+
Depends: R (>= 4.1.0)
3434
Imports:
3535
assertthat,
3636
glue,
@@ -59,13 +59,13 @@ Suggests:
5959
tidyr
6060
VignetteBuilder:
6161
knitr
62-
Additional_repositories: https://geocompr.r-universe.dev
62+
Additional_repositories: https://geocompx.r-universe.dev
6363
Config/checklist/communities: inbo
6464
Config/checklist/keywords: R; package; QGIS
6565
Encoding: UTF-8
6666
Language: en-GB
6767
Roxygen: list(markdown = TRUE)
68-
RoxygenNote: 7.3.2
68+
RoxygenNote: 7.3.3
6969
SystemRequirements: 'QGIS' latest or long-term release currently supported
7070
according to the 'QGIS' release schedule
7171
(<https://www.qgis.org/en/site/getinvolved/development/roadmap.html>). Older

R/qgis-state.R

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,13 @@ readopt_json_output <- function() {
382382

383383

384384

385-
385+
#' Return the value of an option and read an environment variable as fallback
386+
#'
387+
#' @param option_name The name of the option.
388+
#' @param envvar_name The name of the environment variable.
389+
#'
390+
#' @noRd
391+
#'
386392
#' @keywords internal
387393
readopt <- function(option_name, envvar_name) {
388394
getOption(
@@ -398,7 +404,7 @@ readopt <- function(option_name, envvar_name) {
398404

399405
#' Resolve a boolean option or environment variable to TRUE, FALSE or (optionally) NA
400406
#'
401-
#' @param value A result as obtained by [readopt()].
407+
#' @param value A result as obtained by `readopt()`.
402408
#' @param keep_NA Return NA if option and env var are empty?
403409
#' (i.e. `NULL` and `""` respectively).
404410
#' The default (`FALSE`) will return `FALSE`.

man/as_qgis_argument.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/qgis_algorithms.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/qgis_as_raster.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/qgis_as_terra.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/qgis_clean_result.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/qgis_enable_plugins.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)