Skip to content

Commit d6a341f

Browse files
committed
Merge branch 'main' into violin_drop
2 parents 858e6f0 + 470bf08 commit d6a341f

File tree

446 files changed

+6860
-4756
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

446 files changed

+6860
-4756
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/ISSUE_TEMPLATE/bug_report.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug report
3+
about: Submit a bug report to help us improve ggplot2
4+
---
5+
6+
### Tips for a helpful bug report:
7+
8+
* If you have a question, please don't use this form. Instead, ask on <https://stackoverflow.com/> or <https://community.rstudio.com/>.
9+
10+
* Please include a **minimal reproducible example**, a reprex, to demonstrate the bug.
11+
If you've never heard of a reprex, please read ["Make a reprex"](https://www.tidyverse.org/help/#reprex).
12+
Do not include session info unless it is explicitly asked for.
13+
14+
* If you can, use one of the built-in datasets or a small toy dataset that exposes the bug.
15+
If for some reason, the bug only occurs on your original data, try to limit the number of rows that are necessary to expose the bug.
16+
Share such data by copying `dput()` output rather than an external file.
17+
18+
* Unless the bug is about the theme, labels, scales or other plot decoration: please omit these from the code.
19+
20+
* Please check whether somebody has reported the same problem in the [issues](https://github.com/tidyverse/ggplot2/issues).
21+
22+
Delete these instructions once you have read them.
23+
24+
---
25+
26+
I found a problem with ...
27+
28+
I expected ...
29+
30+
Here is the code to reproduce the bug:
31+
32+
```r
33+
# copy your code to the clipboard and run:
34+
reprex::reprex()
35+
```

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
contact_links:
2+
- name: Help or discussion
3+
url: https://community.rstudio.com/
4+
about: "Check out options for getting help on the RStudio Community."
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: "Feature Request"
3+
about: Suggest a change or new feature in ggplot2
4+
---
5+
6+
### Tips for a helpful feature request:
7+
8+
* If you have a question, please don't use this form. Instead, ask on <https://stackoverflow.com/> or <https://community.rstudio.com/>.
9+
10+
* See the [contributing guidelines](https://github.com/tidyverse/ggplot2/blob/main/CONTRIBUTING.md).
11+
12+
* ggplot2 is a mature package that is unlikely to adopt new functionality that can be covered by its extension mechanisms.
13+
Improvements to its current functionality or to infrastructure are considered in scope for feature requests.
14+
15+
* Please motivate the need for change, if applicable with a **minimal reproducible** example (reprex).
16+
If you've never heard of a reprex, please read ["Make a reprex"](https://www.tidyverse.org/help/#reprex).
17+
Do not include session info unless it is explicitly asked for.
18+
19+
Delete this instructions once you've read them.
20+
21+
---
22+
23+
In situations when ...
24+
25+
I would like to be able to ...
26+
27+
```r
28+
# copy your code to the clipboard and run:
29+
reprex::reprex()
30+
```

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ 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
# Use 3.6 to trigger usage of RTools35
2929
- {os: windows-latest, r: '3.6'}
30+
# use 4.1 to check with rtools40's older compiler
31+
- {os: windows-latest, r: '4.1'}
3032

31-
# Use latest ubuntu to make it easier to install sf dependencies
3233
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
3334
- {os: ubuntu-latest, r: 'release'}
3435
- {os: ubuntu-latest, r: 'oldrel-1'}
@@ -47,7 +48,7 @@ jobs:
4748
VDIFFR_LOG_PATH: "../vdiffr.Rout.fail"
4849

4950
steps:
50-
- uses: actions/checkout@v2
51+
- uses: actions/checkout@v3
5152

5253
- uses: r-lib/actions/setup-pandoc@v2
5354

@@ -59,10 +60,10 @@ jobs:
5960

6061
- uses: r-lib/actions/setup-r-dependencies@v2
6162
with:
62-
cache-version: 2
63+
cache-version: 3
6364
extra-packages: >
6465
any::rcmdcheck,
65-
Hmisc=?ignore-before-r=3.6.0,
66+
Hmisc=?ignore-before-r=4.1.0,
6667
quantreg=?ignore-before-r=3.6.0,
6768
needs: check
6869

.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

0 commit comments

Comments
 (0)