Skip to content

Commit 836292b

Browse files
authored
Switch to new CI (#145)
1 parent b40762d commit 836292b

File tree

8 files changed

+101
-178
lines changed

8 files changed

+101
-178
lines changed

.github/workflows/pkgdown.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# pkgdown workflow of the mlr3 ecosystem v0.1.0
2+
# https://github.com/mlr-org/actions
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
release:
11+
types:
12+
- published
13+
workflow_dispatch:
14+
15+
name: pkgdown
16+
17+
jobs:
18+
pkgdown:
19+
runs-on: ubuntu-latest
20+
21+
concurrency:
22+
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
23+
env:
24+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
25+
steps:
26+
- uses: actions/checkout@v3
27+
28+
- uses: r-lib/actions/setup-pandoc@v2
29+
30+
- uses: r-lib/actions/setup-r@v2
31+
32+
- uses: r-lib/actions/setup-r-dependencies@v2
33+
with:
34+
extra-packages: any::pkgdown, local::.
35+
needs: website
36+
37+
- name: Install template
38+
run: pak::pkg_install("mlr-org/mlr3pkgdowntemplate")
39+
shell: Rscript {0}
40+
41+
- name: Build site
42+
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
43+
shell: Rscript {0}
44+
45+
- name: Deploy
46+
if: github.event_name != 'pull_request'
47+
uses: JamesIves/github-pages-deploy-action@v4.4.1
48+
with:
49+
clean: false
50+
branch: gh-pages
51+
folder: docs

.github/workflows/r-cmd-check.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# r cmd check workflow of the mlr3 ecosystem v0.1.0
2+
# https://github.com/mlr-org/actions
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
12+
name: r-cmd-check
13+
14+
jobs:
15+
r-cmd-check:
16+
runs-on: ${{ matrix.config.os }}
17+
18+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
19+
20+
env:
21+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
22+
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
config:
27+
- {os: ubuntu-latest, r: 'devel'}
28+
- {os: ubuntu-latest, r: 'release'}
29+
30+
steps:
31+
- uses: actions/checkout@v3
32+
33+
- uses: r-lib/actions/setup-r@v2
34+
with:
35+
r-version: ${{ matrix.config.r }}
36+
37+
- uses: r-lib/actions/setup-r-dependencies@v2
38+
with:
39+
extra-packages: any::rcmdcheck
40+
needs: check
41+
42+
- uses: r-lib/actions/check-r-package@v2

.github/workflows/tic.yml

Lines changed: 0 additions & 98 deletions
This file was deleted.

.github/workflows/update-tic.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

README.Rmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ Wrapper methods for feature selection are implemented in [mlr3fselect](https://m
1414
Learners which support the extraction feature importance scores can be combined with a filter from this package for embedded feature selection.
1515

1616
<!-- badges: start -->
17-
[![tic](https://github.com/mlr-org/mlr3filters/workflows/tic/badge.svg?branch=master)](https://github.com/mlr-org/mlr3filters/actions)
18-
[![CRAN Status](https://www.r-pkg.org/badges/version/mlr3filters)](https://cran.r-project.org/package=mlr3filters)
17+
[![r-cmd-check](https://github.com/mlr-org/mlr3filters/actions/workflows/r-cmd-check.yml/badge.svg)](https://github.com/mlr-org/mlr3filters/actions/workflows/r-cmd-check.yml)
1918
[![CodeFactor](https://www.codefactor.io/repository/github/mlr-org/mlr3filters/badge)](https://www.codefactor.io/repository/github/mlr-org/mlr3filters)
2019
[![StackOverflow](https://img.shields.io/badge/stackoverflow-mlr3-orange.svg)](https://stackoverflow.com/questions/tagged/mlr3)
2120
[![Mattermost](https://img.shields.io/badge/chat-mattermost-orange.svg)](https://lmmisld-lmu-stats-slds.srv.mwn.de/mlr_invite/)

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ from this package for embedded feature selection.
1717

1818
<!-- badges: start -->
1919

20-
[![tic](https://github.com/mlr-org/mlr3filters/workflows/tic/badge.svg?branch=master)](https://github.com/mlr-org/mlr3filters/actions)
21-
[![CRAN
22-
Status](https://www.r-pkg.org/badges/version/mlr3filters)](https://cran.r-project.org/package=mlr3filters)
20+
[![r-cmd-check](https://github.com/mlr-org/mlr3filters/actions/workflows/r-cmd-check.yml/badge.svg)](https://github.com/mlr-org/mlr3filters/actions/workflows/r-cmd-check.yml)
2321
[![CodeFactor](https://www.codefactor.io/repository/github/mlr-org/mlr3filters/badge)](https://www.codefactor.io/repository/github/mlr-org/mlr3filters)
2422
[![StackOverflow](https://img.shields.io/badge/stackoverflow-mlr3-orange.svg)](https://stackoverflow.com/questions/tagged/mlr3)
2523
[![Mattermost](https://img.shields.io/badge/chat-mattermost-orange.svg)](https://lmmisld-lmu-stats-slds.srv.mwn.de/mlr_invite/)
@@ -172,10 +170,10 @@ filter$calculate(task)
172170
head(as.data.table(filter), 3)
173171
```
174172

175-
## feature score
176-
## 1: Petal.Length 44.682462
177-
## 2: Petal.Width 43.113031
178-
## 3: Sepal.Length 9.039099
173+
## feature score
174+
## 1: Petal.Length 43.19847
175+
## 2: Petal.Width 43.11627
176+
## 3: Sepal.Length 10.62848
179177

180178
### Performance Filter
181179

man/mlr3filters-package.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tic.R

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)