Skip to content

Commit cf508a8

Browse files
committed
New data collected at 2025-04-21_00-02-07
1 parent 9551b1a commit cf508a8

25 files changed

Lines changed: 415 additions & 63 deletions

github-actions/data.table/R-CMD-check.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ jobs:
2727
# GHA does run these jobs concurrently but even so reducing the load seems like a good idea.
2828
- {os: windows-latest, r: 'devel'}
2929
# - {os: macOS-latest, r: 'release'} # test-coverage.yaml uses macOS
30-
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
31-
# - {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest", http-user-agent: "R/4.1.0 (ubuntu-20.04) R (4.1.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions" }
30+
# TODO(remotes>2.5.0): Use 24.04[noble?]
31+
- {os: ubuntu-22.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
32+
# - {os: ubuntu-22.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest", http-user-agent: "R/4.1.0 (ubuntu-22.04) R (4.1.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions" }
3233
# GLCI covers R-devel; no need to delay contributors in dev due to changes in R-devel in recent days
3334

3435
env:
@@ -64,7 +65,7 @@ jobs:
6465
while read -r cmd
6566
do
6667
eval sudo $cmd
67-
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04"))')
68+
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "22.04"))')
6869
6970
- name: Install dependencies
7071
run: |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
R_KEEP_PKG_SOURCE: yes
3030

3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333

3434
- uses: r-lib/actions/setup-pandoc@v2
3535

github-actions/forecast/pkgdown.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
permissions:
2323
contents: write
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626

2727
- uses: r-lib/actions/setup-pandoc@v2
2828

@@ -41,7 +41,7 @@ jobs:
4141

4242
- name: Deploy to GitHub pages 🚀
4343
if: github.event_name != 'pull_request'
44-
uses: JamesIves/github-pages-deploy-action@v4.4.1
44+
uses: JamesIves/github-pages-deploy-action@v4.7.3
4545
with:
4646
clean: false
4747
branch: gh-pages

github-actions/forecast/pr-commands.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
env:
1515
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- uses: r-lib/actions/pr-fetch@v2
2020
with:
@@ -51,7 +51,7 @@ jobs:
5151
env:
5252
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
5353
steps:
54-
- uses: actions/checkout@v3
54+
- uses: actions/checkout@v4
5555

5656
- uses: r-lib/actions/pr-fetch@v2
5757
with:

github-actions/igraph/stimulus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
ci:
66
runs-on: ubuntu-latest
77
env:
8-
STIMULUS_VERSION: "0.21.6"
8+
STIMULUS_VERSION: "0.21.7"
99
steps:
1010
# Use Clang for more informative error messages
1111
- name: Install Clang
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
8+
name: R-CMD-check.yaml
9+
10+
permissions: read-all
11+
12+
jobs:
13+
R-CMD-check:
14+
runs-on: ubuntu-latest
15+
env:
16+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
17+
R_KEEP_PKG_SOURCE: yes
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- uses: r-lib/actions/setup-r@v2
22+
with:
23+
use-public-rspm: true
24+
25+
- uses: r-lib/actions/setup-r-dependencies@v2
26+
with:
27+
extra-packages: any::rcmdcheck
28+
needs: check
29+
30+
- uses: r-lib/actions/check-r-package@v2
31+
with:
32+
upload-snapshots: true
33+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

github-actions/mlflow/master.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
source dev/setup-ssh.sh
9696
pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} --quiet --requires-ssh \
9797
--ignore-flavors --ignore=tests/examples --ignore=tests/recipes --ignore=tests/evaluate \
98-
--ignore tests/deployments/server tests
98+
--ignore=tests/deployments/server --ignore=tests/pyspark/optuna tests
9999
100100
py310:
101101
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
@@ -302,6 +302,30 @@ jobs:
302302
run: |
303303
pytest tests/evaluate/test_default_evaluator_delta.py
304304
305+
optuna:
306+
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
307+
runs-on: ubuntu-latest
308+
timeout-minutes: 90
309+
permissions: {}
310+
strategy:
311+
fail-fast: false
312+
steps:
313+
- uses: actions/checkout@v4
314+
with:
315+
submodules: recursive
316+
- uses: ./.github/actions/untracked
317+
- uses: ./.github/actions/setup-python
318+
- uses: ./.github/actions/setup-pyenv
319+
- uses: ./.github/actions/setup-java
320+
- name: Install dependencies
321+
run: |
322+
source ./dev/install-common-deps.sh
323+
pip install 'pyspark>=3.5' 'optuna>=4' .
324+
- uses: ./.github/actions/show-versions
325+
- uses: ./.github/actions/pipdeptree
326+
- name: Run tests
327+
run: |
328+
pytest tests/pyspark/optuna/test_storage.py
305329
pyfunc:
306330
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
307331
runs-on: ubuntu-latest
@@ -422,7 +446,7 @@ jobs:
422446
export PATH=$PATH:$HADOOP_HOME/bin
423447
# Run Windows tests
424448
pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} \
425-
--ignore-flavors --ignore=tests/projects --ignore=tests/examples --ignore=tests/recipes --ignore=tests/evaluate --ignore tests/deployments/server \
449+
--ignore-flavors --ignore=tests/projects --ignore=tests/examples --ignore=tests/recipes --ignore=tests/evaluate --ignore tests/deployments/server --ignore=tests/pyspark/optuna \
426450
tests
427451
# MLeap is incompatible on Windows with PySpark3.4 release.
428452
# Reinstate tests when MLeap has released a fix. [ML-30491]

github-actions/mlflow/r.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
key: ${{ steps.os-name.outputs.os-name }}-${{ hashFiles('mlflow/R/mlflow/R-version') }}-0-${{ hashFiles('mlflow/R/mlflow/depends.Rds') }}
6666
- name: Install dependencies
6767
run: |
68-
sudo apt-get install -y libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev
68+
sudo apt-get install -y libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev libtiff-dev
6969
Rscript -e 'source(".install-deps.R", echo=TRUE)'
7070
- name: Set USE_R_DEVEL
7171
run: |
@@ -94,4 +94,5 @@ jobs:
9494
LINTR_COMMENT_BOT: false
9595
run: |
9696
cd tests
97+
export RETICULATE_PYTHON_BIN=$(which python)
9798
Rscript -e 'source("../.run-tests.R", echo=TRUE)'
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
2+
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
3+
name: R-CMD-check
4+
5+
on:
6+
push:
7+
branches: [master]
8+
pull_request:
9+
branches: [master]
10+
11+
jobs:
12+
R-CMD-check:
13+
runs-on: ${{ matrix.config.os }}
14+
15+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
16+
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
config:
21+
- {os: macOS-latest, r: 'release'}
22+
- {os: windows-latest, r: 'release'}
23+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
24+
- {os: ubuntu-latest, r: 'release'}
25+
- {os: ubuntu-latest, r: 'oldrel-1'}
26+
27+
env:
28+
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
29+
RSPM: ${{ matrix.config.rspm }}
30+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
31+
32+
steps:
33+
- uses: actions/checkout@v4
34+
35+
- uses: r-lib/actions/setup-pandoc@v2
36+
37+
- uses: r-lib/actions/setup-r@v2
38+
with:
39+
r-version: ${{ matrix.config.r }}
40+
http-user-agent: ${{ matrix.config.http-user-agent }}
41+
use-public-rspm: true
42+
43+
- uses: r-lib/actions/setup-r-dependencies@v2
44+
with:
45+
extra-packages: any::rcmdcheck
46+
needs: check
47+
48+
- uses: r-lib/actions/check-r-package@v2
49+
with:
50+
upload-snapshots: true
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
name: test-coverage
3+
4+
on:
5+
push:
6+
branches: [master]
7+
pull_request:
8+
branches: [master]
9+
10+
jobs:
11+
test-coverage:
12+
runs-on: ubuntu-latest
13+
env:
14+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: r-lib/actions/setup-r@v2
20+
with:
21+
use-public-rspm: true
22+
23+
- uses: r-lib/actions/setup-r-dependencies@v2
24+
with:
25+
extra-packages: any::covr
26+
needs: coverage
27+
28+
- name: Test coverage
29+
run: |
30+
covr::codecov(
31+
quiet = FALSE,
32+
clean = FALSE,
33+
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
34+
)
35+
shell: Rscript {0}
36+
37+
- name: Show testthat output
38+
if: always()
39+
run: |
40+
## Install package
41+
R CMD INSTALL .
42+
## Run tests
43+
Rscript -e 'testthat::test_package("networkD3")'
44+
shell: bash
45+
46+
- name: Upload test results
47+
if: failure()
48+
uses: actions/upload-artifact@v4
49+
with:
50+
name: coverage-test-failures
51+
path: ${{ runner.temp }}/package

0 commit comments

Comments
 (0)