Skip to content

Commit 08e4df9

Browse files
authored
Merge branch 'r-spatial:main' into sep-doc
2 parents f9aeed1 + 4a21627 commit 08e4df9

File tree

8 files changed

+15
-12
lines changed

8 files changed

+15
-12
lines changed

.Rbuildignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ rdev
1515
hub
1616
tic.R
1717
NOTES
18-
^\.github/workflows/R-CMD-check\.yaml$
19-
^\.github/workflows/R-CMD-check-with-db\.yaml$
2018
^\.ccache$
2119
^\.github$
2220
^tic\.R$

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/rcmdcheck.yml renamed to .github/workflows/R-CMD-check.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- {os: windows-latest, r: 'release'}
2525
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
2626
- {os: ubuntu-latest, r: 'release'}
27+
- {os: ubuntu-latest, r: 'oldrel-1'}
28+
- {os: ubuntu-latest, r: 'oldrel-2'}
2729

2830
env:
2931
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
@@ -36,13 +38,12 @@ jobs:
3638

3739
- uses: r-lib/actions/setup-r@v2
3840
with:
39-
rtools-version: '42'
4041
r-version: ${{ matrix.config.r }}
4142
http-user-agent: ${{ matrix.config.http-user-agent }}
4243
use-public-rspm: true
4344

4445
- name: Install macOS system dependencies
45-
if: runner.os == 'macOS'
46+
if: runner.os == 'macos'
4647
run: brew install gdal proj
4748

4849
- uses: r-lib/actions/setup-r-dependencies@v2

.github/workflows/pkgdown.yml renamed to .github/workflows/pkgdown.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
2020
env:
2121
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
22+
permissions:
23+
contents: write
2224
steps:
2325
- uses: actions/checkout@v4
2426

@@ -39,7 +41,7 @@ jobs:
3941

4042
- name: Deploy to GitHub pages 🚀
4143
if: github.event_name != 'pull_request'
42-
uses: JamesIves/github-pages-deploy-action@v4.4.1
44+
uses: JamesIves/github-pages-deploy-action@v4.5.0
4345
with:
4446
clean: false
4547
branch: gh-pages

.github/workflows/test-coverage.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323

2424
- uses: r-lib/actions/setup-r-dependencies@v2
2525
with:
26-
extra-packages: any::covr, any::XML
26+
extra-packages: any::covr
2727
needs: coverage
2828

2929
- name: Test coverage
3030
run: |
3131
covr::codecov(
3232
quiet = FALSE,
3333
clean = FALSE,
34-
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
34+
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
3535
)
3636
shell: Rscript {0}
3737

@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Upload test results
4646
if: failure()
47-
uses: actions/upload-artifact@v3
47+
uses: actions/upload-artifact@v4
4848
with:
4949
name: coverage-test-failures
5050
path: ${{ runner.temp }}/package

.github/workflows/tic-db.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
5151

5252
steps:
53-
- uses: actions/checkout@v2
53+
- uses: actions/checkout@v4
5454

5555
- uses: r-lib/actions/setup-r@v2
5656
with:
@@ -145,7 +145,7 @@ jobs:
145145

146146
- name: "[Stage] Upload R CMD check artifacts"
147147
if: failure()
148-
uses: actions/upload-artifact@v2
148+
uses: actions/upload-artifact@v4
149149
with:
150150
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
151151
path: check

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Suggests:
7878
dplyr (>= 1.0.0),
7979
ggplot2,
8080
knitr,
81-
lwgeom (>= 0.2-1),
81+
lwgeom (>= 0.2-14),
8282
maps,
8383
mapview,
8484
Matrix,
@@ -116,6 +116,7 @@ Encoding: UTF-8
116116
RoxygenNote: 7.3.0
117117
Roxygen: list(markdown = TRUE)
118118
Config/testthat/edition: 2
119+
Config/needs/coverage: XML
119120
SystemRequirements: GDAL (>= 2.0.1), GEOS (>= 3.4.0),
120121
PROJ (>= 4.8.0), sqlite3
121122
Collate:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- badges: start -->
2-
[![rcmdcheck](https://github.com/r-spatial/sf/actions/workflows/rcmdcheck.yml/badge.svg?branch=main)](https://github.com/r-spatial/sf/actions/workflows/rcmdcheck.yml)
2+
[![R-CMD-check](https://github.com/r-spatial/sf/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-spatial/sf/actions/workflows/R-CMD-check.yaml)
33
[![tic-db](https://github.com/r-spatial/sf/workflows/tic-db/badge.svg?branch=main)](https://github.com/r-spatial/sf/actions)
44
[![Coverage Status](https://img.shields.io/codecov/c/github/r-spatial/sf/main.svg)](https://app.codecov.io/gh/r-spatial/sf)
55
[![License](http://img.shields.io/badge/license-GPL%20%28%3E=%202%29-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl-2.0.html)

0 commit comments

Comments
 (0)