Skip to content

Commit e76e703

Browse files
authored
Spring cleaning 🧼 (#252)
* Rename .r -> .R * Update GH actions * Update CoC * Update license, DESCRIPTION * Add badges, pak to README * Update GH actions
1 parent 82065a1 commit e76e703

File tree

12 files changed

+52
-27
lines changed

12 files changed

+52
-27
lines changed

‎.github/CODE_OF_CONDUCT.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ representative at an online or offline event.
5959
## Enforcement
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62-
reported to the community leaders responsible for enforcement at codeofconduct@rstudio.com.
62+
reported to the community leaders responsible for enforcement at codeofconduct@posit.co.
6363
All complaints will be reviewed and investigated promptly and fairly.
6464

6565
All community leaders are obligated to respect the privacy and security of the

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
R_KEEP_PKG_SOURCE: yes
3232

3333
steps:
34-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v3
3535

3636
- uses: r-lib/actions/setup-pandoc@v2
3737

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,29 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
config:
25-
- {os: macOS-latest, r: 'release'}
25+
- {os: macos-latest, r: 'release'}
2626

2727
- {os: windows-latest, r: 'release'}
2828
# Don't use Windows 3.6 build to avoid igraph always being
2929
# installed from source and failing
30-
# Use 3.6 to trigger usage of RTools35
3130
# - {os: windows-latest, r: '3.6'}
31+
# use 4.1 to check with rtools40's older compiler
32+
- {os: windows-latest, r: '4.1'}
3233

3334
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
3435
- {os: ubuntu-latest, r: 'release'}
3536
- {os: ubuntu-latest, r: 'oldrel-1'}
3637
- {os: ubuntu-latest, r: 'oldrel-2'}
3738
- {os: ubuntu-latest, r: 'oldrel-3'}
38-
# Don't use R 3.4 build. survival, mda, TH.data require >=3.5.
39+
# Don't use R 3.5: RSpectra, timeDate, glmnet require >=3.6
3940
# - {os: ubuntu-latest, r: 'oldrel-4'}
4041

4142
env:
4243
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
4344
R_KEEP_PKG_SOURCE: yes
4445

4546
steps:
46-
- uses: actions/checkout@v2
47+
- uses: actions/checkout@v3
4748

4849
- uses: r-lib/actions/setup-pandoc@v2
4950

@@ -55,7 +56,6 @@ jobs:
5556

5657
- uses: r-lib/actions/setup-r-dependencies@v2
5758
with:
58-
pak-version: devel
5959
extra-packages:
6060
any::rcmdcheck,
6161
randomForest=?ignore-before-r=4.1.0,

‎.github/workflows/pkgdown.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
env:
2121
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2222
steps:
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v3
2424

2525
- uses: r-lib/actions/setup-pandoc@v2
2626

@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: Deploy to GitHub pages 🚀
4141
if: github.event_name != 'pull_request'
42-
uses: JamesIves/[email protected].4
42+
uses: JamesIves/github-pages-deploy-action@v4.4.1
4343
with:
4444
clean: false
4545
branch: gh-pages

‎.github/workflows/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@v2
17+
- uses: actions/checkout@v3
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@v2
54+
- uses: actions/checkout@v3
5555

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

‎.github/workflows/test-coverage.yaml‎

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919

2020
- uses: r-lib/actions/setup-r@v2
2121
with:
@@ -27,5 +27,24 @@ jobs:
2727
needs: coverage
2828

2929
- name: Test coverage
30-
run: covr::codecov(quiet = FALSE)
30+
run: |
31+
covr::codecov(
32+
quiet = FALSE,
33+
clean = FALSE,
34+
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
35+
)
3136
shell: Rscript {0}
37+
38+
- name: Show testthat output
39+
if: always()
40+
run: |
41+
## --------------------------------------------------------------------
42+
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
43+
shell: bash
44+
45+
- name: Upload test results
46+
if: failure()
47+
uses: actions/upload-artifact@v3
48+
with:
49+
name: coverage-test-failures
50+
path: ${{ runner.temp }}/package

‎DESCRIPTION‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Version: 0.3.1.9000
44
Authors@R: c(
55
person("Joyce", "Cahoon", , "[email protected]", role = "aut",
66
comment = c(ORCID = "0000-0001-7217-4702")),
7-
person("Davis", "Vaughan", , "davis@rstudio.com", role = "aut"),
8-
person("Max", "Kuhn", , "max@rstudio.com", role = "aut"),
7+
person("Davis", "Vaughan", , "davis@posit.co", role = "aut"),
8+
person("Max", "Kuhn", , "max@posit.co", role = "aut"),
99
person("Alex", "Hayes", , "[email protected]", role = "aut"),
10-
person("Julia", "Silge", , "julia.silge@rstudio.com", role = c("cre", "aut"),
10+
person("Julia", "Silge", , "julia.silge@posit.co", role = c("cre", "aut"),
1111
comment = c(ORCID = "0000-0002-3671-836X")),
12-
person("RStudio", role = c("cph", "fnd"))
12+
person(given = "Posit, PBC", role = c("cph", "fnd"))
1313
)
1414
Description: Provides a set of S3 generics to axe components of fitted
1515
model objects and help reduce the size of model objects saved to disk.
@@ -18,7 +18,7 @@ URL: https://butcher.tidymodels.org/,
1818
https://github.com/tidymodels/butcher
1919
BugReports: https://github.com/tidymodels/butcher/issues
2020
Depends:
21-
R (>= 3.4.0)
21+
R (>= 3.5.0)
2222
Imports:
2323
cli (>= 3.3.0),
2424
lobstr (>= 1.1.2),
@@ -45,8 +45,8 @@ Suggests:
4545
fs,
4646
ipred,
4747
kernlab,
48-
klaR,
4948
kknn,
49+
klaR,
5050
knitr,
5151
MASS,
5252
mda,

‎LICENSE‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
YEAR: 2019
2-
COPYRIGHT HOLDER: Joyce Cahoon
2+
COPYRIGHT HOLDER: butcher authors

‎LICENSE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
Copyright (c) 2019 Joyce Cahoon
3+
Copyright (c) 2019 butcher authors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
File renamed without changes.

0 commit comments

Comments
 (0)