Skip to content

Commit c63c715

Browse files
committed
New data collected at 2025-06-23_00-03-40
1 parent 14a2fb9 commit c63c715

16 files changed

Lines changed: 179 additions & 126 deletions

github-actions/data.table/code-quality.yaml

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -40,40 +40,24 @@ jobs:
4040
run: /usr/bin/sudo apt-get -y install coccinelle
4141
- name: Lint
4242
run: |
43-
linter_env = new.env()
44-
for (f in list.files('.ci/linters/c', full.names=TRUE)) sys.source(f, linter_env)
45-
for (f in list.files('src', pattern='[.][ch]$', full.names=TRUE)) {
46-
c_obj = list(path = f, lines = readLines(f))
47-
c_obj$preprocessed = system2("gcc", c("-fpreprocessed", "-E", f), stdout=TRUE, stderr=FALSE)
48-
for (linter in ls(linter_env)) linter_env[[linter]](c_obj)
49-
# TODO(#6272): Incorporate more checks from CRAN_Release
50-
}
51-
shell: Rscript {0}
43+
Rscript .ci/lint.R .ci/linters/c src '[.][ch]$'
5244
lint-po:
5345
runs-on: ubuntu-latest
5446
steps:
5547
- uses: actions/checkout@v4
5648
- uses: r-lib/actions/setup-r@v2
5749
- name: Check translations
50+
# only pay attention to files edited in the current PR, otherwise we can get
51+
# a situation like after #6424 where some untranslated messages were added
52+
# as part of non-translation maintenance, but this GHA would go red repeatedly
53+
# until a translation is added or the blank/fuzzy translations removed. We'd
54+
# rather only have the failure on one PR, then ignore these files later.
5855
run: |
59-
linter_env = new.env()
60-
for (f in list.files('.ci/linters/po', full.names=TRUE)) sys.source(f, linter_env)
61-
for (po_file in list.files(pattern = "[.]po$", full.names=TRUE)) {
62-
# only pay attention to files edited in the current PR, otherwise we can get
63-
# a situation like after #6424 where some untranslated messages were added
64-
# as part of non-translation maintenance, but this GHA would go red repeatedly
65-
# until a translation is added or the blank/fuzzy translations removed. We'd
66-
# rather only have the failure on one PR, then ignore these files later.
67-
diff_v_master = system2("git", c("diff", "master", po_file), stdout=TRUE)
68-
if (!length(diff_v_master)) next
69-
for (linter in ls(linter_env)) linter_env[[linter]](po_file)
70-
}
71-
shell: Rscript {0}
56+
Rscript .ci/lint.R .ci/linters/po po '[.]po$'
7257
lint-md:
7358
runs-on: ubuntu-latest
7459
steps:
7560
- uses: actions/checkout@v4
7661
- uses: r-lib/actions/setup-r@v2
7762
- name: Lint
78-
run: for (f in list.files('.ci/linters/md', full.names=TRUE)) source(f)
79-
shell: Rscript {0}
63+
run: Rscript .ci/lint.R .ci/linters/md . '[.]R?md$'

github-actions/gganimate/R-CMD-check.yaml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ on:
88
push:
99
branches: [main, master]
1010
pull_request:
11-
branches: [main, master]
1211

13-
name: R-CMD-check
12+
name: R-CMD-check.yaml
13+
14+
permissions: read-all
1415

1516
jobs:
1617
R-CMD-check:
@@ -25,24 +26,22 @@ jobs:
2526
- {os: macos-latest, r: 'release'}
2627

2728
- {os: windows-latest, r: 'release'}
28-
# Use 3.6 to trigger usage of RTools35
29-
- {os: windows-latest, r: '3.6'}
30-
# use 4.1 to check with rtools40's older compiler
31-
- {os: windows-latest, r: '4.1'}
29+
# use 4.0 or 4.1 to check with rtools40's older compiler
30+
- {os: windows-latest, r: 'oldrel-4'}
3231

33-
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
34-
- {os: ubuntu-latest, r: 'release'}
35-
- {os: ubuntu-latest, r: 'oldrel-1'}
36-
- {os: ubuntu-latest, r: 'oldrel-2'}
37-
- {os: ubuntu-latest, r: 'oldrel-3'}
38-
- {os: ubuntu-latest, r: 'oldrel-4'}
32+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
33+
- {os: ubuntu-latest, r: 'release'}
34+
- {os: ubuntu-latest, r: 'oldrel-1'}
35+
- {os: ubuntu-latest, r: 'oldrel-2'}
36+
- {os: ubuntu-latest, r: 'oldrel-3'}
37+
- {os: ubuntu-latest, r: 'oldrel-4'}
3938

4039
env:
4140
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
4241
R_KEEP_PKG_SOURCE: yes
4342

4443
steps:
45-
- uses: actions/checkout@v3
44+
- uses: actions/checkout@v4
4645

4746
- uses: r-lib/actions/setup-pandoc@v2
4847

@@ -52,10 +51,6 @@ jobs:
5251
http-user-agent: ${{ matrix.config.http-user-agent }}
5352
use-public-rspm: true
5453

55-
- name: Install av on Linux
56-
if: runner.os == 'Linux'
57-
run: sudo apt-get update -y && sudo apt-get install -y libavfilter-dev
58-
5954
- uses: r-lib/actions/setup-r-dependencies@v2
6055
with:
6156
extra-packages: any::rcmdcheck
@@ -64,3 +59,4 @@ jobs:
6459
- uses: r-lib/actions/check-r-package@v2
6560
with:
6661
upload-snapshots: true
62+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

github-actions/gganimate/pkgdown.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ on:
44
push:
55
branches: [main, master]
66
pull_request:
7-
branches: [main, master]
87
release:
98
types: [published]
109
workflow_dispatch:
1110

12-
name: pkgdown
11+
name: pkgdown.yaml
12+
13+
permissions: read-all
1314

1415
jobs:
1516
pkgdown:
@@ -22,18 +23,14 @@ jobs:
2223
permissions:
2324
contents: write
2425
steps:
25-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2627

2728
- uses: r-lib/actions/setup-pandoc@v2
2829

2930
- uses: r-lib/actions/setup-r@v2
3031
with:
3132
use-public-rspm: true
3233

33-
- name: Install av on Linux
34-
if: runner.os == 'Linux'
35-
run: sudo apt-get update -y && sudo apt-get install -y libavfilter-dev
36-
3734
- uses: r-lib/actions/setup-r-dependencies@v2
3835
with:
3936
extra-packages: any::pkgdown, local::.
@@ -45,7 +42,7 @@ jobs:
4542

4643
- name: Deploy to GitHub pages 🚀
4744
if: github.event_name != 'pull_request'
48-
uses: JamesIves/github-pages-deploy-action@v4.4.1
45+
uses: JamesIves/github-pages-deploy-action@v4.5.0
4946
with:
5047
clean: false
5148
branch: gh-pages

github-actions/gganimate/pr-commands.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
issue_comment:
55
types: [created]
66

7-
name: Commands
7+
name: pr-commands.yaml
8+
9+
permissions: read-all
810

911
jobs:
1012
document:
@@ -13,8 +15,10 @@ jobs:
1315
runs-on: ubuntu-latest
1416
env:
1517
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
18+
permissions:
19+
contents: write
1620
steps:
17-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
1822

1923
- uses: r-lib/actions/pr-fetch@v2
2024
with:
@@ -24,10 +28,6 @@ jobs:
2428
with:
2529
use-public-rspm: true
2630

27-
- name: Install av on Linux
28-
if: runner.os == 'Linux'
29-
run: sudo apt-get update -y && sudo apt-get install -y libavfilter-dev
30-
3131
- uses: r-lib/actions/setup-r-dependencies@v2
3232
with:
3333
extra-packages: any::roxygen2
@@ -54,8 +54,10 @@ jobs:
5454
runs-on: ubuntu-latest
5555
env:
5656
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
57+
permissions:
58+
contents: write
5759
steps:
58-
- uses: actions/checkout@v3
60+
- uses: actions/checkout@v4
5961

6062
- uses: r-lib/actions/pr-fetch@v2
6163
with:

github-actions/gganimate/test-coverage.yaml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ on:
44
push:
55
branches: [main, master]
66
pull_request:
7-
branches: [main, master]
87

9-
name: test-coverage
8+
name: test-coverage.yaml
9+
10+
permissions: read-all
1011

1112
jobs:
1213
test-coverage:
@@ -15,40 +16,47 @@ jobs:
1516
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1617

1718
steps:
18-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
1920

2021
- uses: r-lib/actions/setup-r@v2
2122
with:
2223
use-public-rspm: true
2324

24-
- name: Install av on Linux
25-
if: runner.os == 'Linux'
26-
run: sudo apt-get update -y && sudo apt-get install -y libavfilter-dev
27-
2825
- uses: r-lib/actions/setup-r-dependencies@v2
2926
with:
30-
extra-packages: any::covr
27+
extra-packages: any::covr, any::xml2
3128
needs: coverage
3229

3330
- name: Test coverage
3431
run: |
35-
covr::codecov(
32+
cov <- covr::package_coverage(
3633
quiet = FALSE,
3734
clean = FALSE,
38-
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
35+
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
3936
)
37+
print(cov)
38+
covr::to_cobertura(cov)
4039
shell: Rscript {0}
4140

41+
- uses: codecov/codecov-action@v5
42+
with:
43+
# Fail if error if not on PR, or if on PR and token is given
44+
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
45+
files: ./cobertura.xml
46+
plugins: noop
47+
disable_search: true
48+
token: ${{ secrets.CODECOV_TOKEN }}
49+
4250
- name: Show testthat output
4351
if: always()
4452
run: |
4553
## --------------------------------------------------------------------
46-
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
54+
find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true
4755
shell: bash
4856

4957
- name: Upload test results
5058
if: failure()
51-
uses: actions/upload-artifact@v3
59+
uses: actions/upload-artifact@v4
5260
with:
5361
name: coverage-test-failures
5462
path: ${{ runner.temp }}/package

github-actions/ggforce/R-CMD-check.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ on:
88
push:
99
branches: [main, master]
1010
pull_request:
11-
branches: [main, master]
1211

13-
name: R-CMD-check
12+
name: R-CMD-check.yaml
13+
14+
permissions: read-all
1415

1516
jobs:
1617
R-CMD-check:
@@ -25,24 +26,22 @@ jobs:
2526
- {os: macos-latest, r: 'release'}
2627

2728
- {os: windows-latest, r: 'release'}
28-
# Use 3.6 to trigger usage of RTools35
29-
- {os: windows-latest, r: '3.6'}
30-
# use 4.1 to check with rtools40's older compiler
31-
- {os: windows-latest, r: '4.1'}
32-
33-
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
34-
- {os: ubuntu-latest, r: 'release'}
35-
- {os: ubuntu-latest, r: 'oldrel-1'}
36-
- {os: ubuntu-latest, r: 'oldrel-2'}
37-
- {os: ubuntu-latest, r: 'oldrel-3'}
38-
- {os: ubuntu-latest, r: 'oldrel-4'}
29+
# use 4.0 or 4.1 to check with rtools40's older compiler
30+
- {os: windows-latest, r: 'oldrel-4'}
31+
32+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
33+
- {os: ubuntu-latest, r: 'release'}
34+
- {os: ubuntu-latest, r: 'oldrel-1'}
35+
- {os: ubuntu-latest, r: 'oldrel-2'}
36+
- {os: ubuntu-latest, r: 'oldrel-3'}
37+
- {os: ubuntu-latest, r: 'oldrel-4'}
3938

4039
env:
4140
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
4241
R_KEEP_PKG_SOURCE: yes
4342

4443
steps:
45-
- uses: actions/checkout@v3
44+
- uses: actions/checkout@v4
4645

4746
- uses: r-lib/actions/setup-pandoc@v2
4847

@@ -60,3 +59,4 @@ jobs:
6059
- uses: r-lib/actions/check-r-package@v2
6160
with:
6261
upload-snapshots: true
62+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

github-actions/ggforce/pkgdown.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ on:
44
push:
55
branches: [main, master]
66
pull_request:
7-
branches: [main, master]
87
release:
98
types: [published]
109
workflow_dispatch:
1110

12-
name: pkgdown
11+
name: pkgdown.yaml
12+
13+
permissions: read-all
1314

1415
jobs:
1516
pkgdown:
@@ -22,7 +23,7 @@ jobs:
2223
permissions:
2324
contents: write
2425
steps:
25-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2627

2728
- uses: r-lib/actions/setup-pandoc@v2
2829

@@ -41,7 +42,7 @@ jobs:
4142

4243
- name: Deploy to GitHub pages 🚀
4344
if: github.event_name != 'pull_request'
44-
uses: JamesIves/github-pages-deploy-action@v4.4.1
45+
uses: JamesIves/github-pages-deploy-action@v4.5.0
4546
with:
4647
clean: false
4748
branch: gh-pages

github-actions/ggforce/pr-commands.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
issue_comment:
55
types: [created]
66

7-
name: Commands
7+
name: pr-commands.yaml
8+
9+
permissions: read-all
810

911
jobs:
1012
document:
@@ -13,8 +15,10 @@ jobs:
1315
runs-on: ubuntu-latest
1416
env:
1517
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
18+
permissions:
19+
contents: write
1620
steps:
17-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
1822

1923
- uses: r-lib/actions/pr-fetch@v2
2024
with:
@@ -50,8 +54,10 @@ jobs:
5054
runs-on: ubuntu-latest
5155
env:
5256
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
57+
permissions:
58+
contents: write
5359
steps:
54-
- uses: actions/checkout@v3
60+
- uses: actions/checkout@v4
5561

5662
- uses: r-lib/actions/pr-fetch@v2
5763
with:

0 commit comments

Comments
 (0)