Skip to content

Commit 9af3f2a

Browse files
Merge pull request #95 from r-devel/master
update branch
2 parents db67b59 + 0564fd3 commit 9af3f2a

23 files changed

+352
-49
lines changed

.all-contributorsrc

Lines changed: 45 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@
3636
"question",
3737
"eventOrganizing",
3838
"talk",
39-
"video"
39+
"video",
40+
"review",
41+
"example",
42+
"research"
4043
]
4144
},
4245
{
@@ -63,7 +66,12 @@
6366
"avatar_url": "https://avatars.githubusercontent.com/u/6818218?v=4",
6467
"profile": "http://llrs.dev",
6568
"contributions": [
66-
"review"
69+
"review",
70+
"content",
71+
"question",
72+
"research",
73+
"doc",
74+
"example"
6775
]
6876
},
6977
{
@@ -73,7 +81,9 @@
7381
"profile": "http://tdhock.github.io",
7482
"contributions": [
7583
"review",
76-
"example"
84+
"example",
85+
"research",
86+
"question"
7787
]
7888
},
7989
{
@@ -82,7 +92,9 @@
8292
"avatar_url": "https://avatars.githubusercontent.com/u/3341603?v=4",
8393
"profile": "https://github.com/bettinagruen",
8494
"contributions": [
85-
"review"
95+
"review",
96+
"research",
97+
"question"
8698
]
8799
},
88100
{
@@ -119,7 +131,10 @@
119131
"profile": "https://github.com/MichaelChirico",
120132
"contributions": [
121133
"review",
122-
"question"
134+
"question",
135+
"content",
136+
"doc",
137+
"research"
123138
]
124139
},
125140
{
@@ -178,12 +193,36 @@
178193
"contributions": [
179194
"review"
180195
]
196+
},
197+
{
198+
"login": "nbenn",
199+
"name": "nbenn",
200+
"avatar_url": "https://avatars.githubusercontent.com/u/3158446?v=4",
201+
"profile": "https://github.com/nbenn",
202+
"contributions": [
203+
"review",
204+
"research",
205+
"question"
206+
]
207+
},
208+
{
209+
"login": "benubah",
210+
"name": "Ben",
211+
"avatar_url": "https://avatars.githubusercontent.com/u/11357251?v=4",
212+
"profile": "https://github.com/benubah",
213+
"contributions": [
214+
"content",
215+
"review",
216+
"research",
217+
"question"
218+
]
181219
}
182220
],
183221
"contributorsPerLine": 7,
184222
"projectName": "rdevguide",
185223
"projectOwner": "r-devel",
186224
"repoType": "github",
187225
"repoHost": "https://github.com",
188-
"skipCi": true
226+
"skipCi": true,
227+
"commitConvention": "angular"
189228
}

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/custom.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Custom issue template
3+
about: Describe this issue template's purpose here.
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/workflows/deploy_bookdown.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,19 @@ jobs:
1111
name: Render-Book
1212
runs-on: macOS-latest
1313
steps:
14-
- uses: actions/checkout@v1
15-
- uses: r-lib/actions/setup-r@v1
16-
- uses: r-lib/actions/setup-pandoc@v1
14+
- uses: actions/checkout@v3
15+
- uses: r-lib/actions/setup-r@v2
16+
- uses: r-lib/actions/setup-pandoc@v2
17+
- uses: r-lib/actions/setup-tinytex@v2
1718
- name: Install rmarkdown
1819
run: Rscript -e 'install.packages(c("rmarkdown","bookdown"))'
19-
- name: Render Book
20-
run: Rscript -e 'bookdown::render_book("index.Rmd")'
21-
- uses: actions/upload-artifact@v1
20+
- name: Render HTML
21+
run: Rscript -e 'bookdown::render_book("index.Rmd", "bookdown::gitbook")'
22+
- name: Render PDF
23+
run: Rscript -e 'bookdown::render_book("index.Rmd", "bookdown::pdf_book")'
24+
- name: Render ePub
25+
run: Rscript -e 'bookdown::render_book("index.Rmd", "bookdown::epub_book")'
26+
- uses: actions/upload-artifact@v3
2227
with:
2328
name: docs
2429
path: docs/

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@
55
.DS_Store
66
docs/
77
rdevguide.rds
8+
9+
# temp files
10+
*~

01-Introduction.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
This guide is heavily influenced by the [Python Developer Guide](https://devguide.python.org/), and is a comprehensive resource for contributing to R Core – for both new and experienced contributors. It is maintained by the [R Contribution Working Group](/working-group). We welcome your contributions to R Core!
44

5-
## How to contribute to this guide? {-}
5+
## How to contribute to this guide? {#how-to-contribute-to-this-guide -}
66

77
This guide is built using bookdown which makes editing it easier, provided you have a GitHub account (sign-up at [github.com](https://github.com/)). After you log-in to GitHub, click on the ‘Edit’ icon highlighted with a red ellipse in the image below. This will take you to an editable version of the the source R Markdown file that generated the page you are on:
88

9-
![](https://user-images.githubusercontent.com/28556616/122679827-03314a80-d20a-11eb-9714-06ae588127f0.png)
9+
![Screenshot of the toolbar in the HTML version of the guide, with the Edit button (pencil and paper icon) circled in red.](img/edit_icon.png)
1010

1111
Use the [issue tracker](https://github.com/forwards/rdevguide/issues) to raise an issue about the guide’s content or to make a feature request.
1212

04-reviewing_bugs_in_R.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If you would like to see how bugs are reviewed on Bugzilla, [here](https://bugs.
4040

4141
**Note**:
4242

43-
There is a `#bugreports-for-review` channel on the [R Contributors slack](https://r-contributors.slack.com/) where you can share your bug report(s) for review/feedback before submitting to Bugzilla. This can help with checking that it really is a bug, that you have included the important information and excluded redundant information.
43+
There is a `#bug-reporting` channel on the [R Contributors slack](https://r-contributors.slack.com/) where you can share your bug report(s) for review/feedback before submitting to Bugzilla. This can help with checking that it really is a bug, that you have included the important information and excluded redundant information.
4444

4545
## See also
4646

07-documenting_R.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ All the above information is included in a .Rd file within a series of sections
5656
* Titles of books and journals (not articles) should be enclosed in `\emph{...}`.
5757
* Volume numbers for journals are to be enclosed in `\bold{...}` and followed by a comma.
5858
* Use `--` for page ranges.
59-
* For given an address for a publisher use the format `New York: Springer-Verlag`.
59+
* For giving an address for a publisher use the format `New York: Springer-Verlag`.
6060

6161
More guidelines for writing .Rd files can be found [here](https://developer.r-project.org/Rds.html).
6262

@@ -68,7 +68,7 @@ The language used in the documentations should follow these basic rules:
6868

6969
3. Short code examples can help in understanding better. Readers can often grasp a simple example more quickly than they can digest a formal description. Usually people learn faster with concrete, motivating examples that match the context of a typical use case.
7070

71-
4. Giving a code equivalent (or approximate equivalent) can be a useful in addition to the description provided. You should carefully weigh whether the code equivalent adds value to the document.
71+
4. Giving a code equivalent (or approximate equivalent) can be a useful addition to the description provided. You should carefully weigh whether the code equivalent adds value to the document.
7272

7373
5. The tone of the documentation needs to be respectful of the reader’s background. Lay out the relevant information, show motivating use cases, provide glossary links, and do your best to connect-the-dots. The documentation is meant for newcomers, many of whom will be using it to evaluate the R language as a whole. The experience needs to be positive and not leave the reader with worries that something bad will happen if they make a mistake.
7474

@@ -94,7 +94,7 @@ If you decide to proofread, read a section of the documentation from start to fi
9494

9595
The Developer’s Guide (what you are reading now) uses the same process as the main R documentation, except for some small differences. The source lives in a [GitHub repository](https://github.com/forwards/rdevguide) and bug reports should be submitted to the [devguide GitHub tracker](https://github.com/forwards/rdevguide/issues).
9696

97-
Our dev guide workflow uses continuous integration and deployment so changes to the dev guide are normally published when the pull request is merged. (Link to how-to-contribute from the introduction chapter)
97+
Our dev guide workflow uses continuous integration and deployment so changes to the dev guide are normally published when the pull request is merged. [How to contribute to this guide from the introduction.](#how-to-contribute-to-this-guide)
9898

9999
## Instructions for reporting the CRAN policy bugs -- discussion in slack (random channel)
100100

0 commit comments

Comments
 (0)