Skip to content

Commit aff4bcd

Browse files
authored
Merge pull request #367 from ropensci/dev
Dev for comparison
2 parents 3ec3092 + 8281a8d commit aff4bcd

24 files changed

Lines changed: 292 additions & 254 deletions

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ name: PR-workflow
44

55
jobs:
66
bookdown:
7-
name: Render Book
8-
runs-on: macOS-latest
97
env:
108
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
119
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
1210
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
11+
name: Render Book
12+
runs-on: macOS-latest
1313
if: github.repository == 'ropensci/dev_guide'
1414
steps:
1515
- name: Is this a fork

.zenodo.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@
6666
},
6767
{
6868
"name": "Riederer, Emily",
69-
"affiliation": "Capital One"
69+
"affiliation": "Capital One",
70+
"orcid": "0000-0002-1788-7934"
7071
},
7172
{
7273
"name": "Sparks, Adam",

DESCRIPTION

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Package: placeholder
1+
Package: rOpenSci_dev_guide
22
Type: Website
33
Title: rOpenSci Packages: Development, Maintenance, and Peer Review
44
Description: rOpenSci Packages: Development, Maintenance, and Peer Review
5-
Version: 0.0.1
5+
Version: 0.8.0
66
Imports:
77
airtabler,
88
htmltools,
@@ -21,3 +21,4 @@ Remotes:
2121
rstudio/bookdown,
2222
r-lib/downlit,
2323
r-lib/rlang
24+
URL: https://github.com/ropensci/dev_guide

appendix.Rmd

Lines changed: 72 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,75 @@
22

33
# NEWS {#booknews}
44

5+
## 0.8.0
6+
7+
- 2022-06-03, Remove former references to now-archived "rodev" package
8+
9+
- 2022-05-30, Advise that reviewers can also directly call `@ropensci-review-bot check package`
10+
11+
- 2022-05-27, Add Mark Padgham to list of authors
12+
13+
- 2022-05-27, Add `devguider::prerelease_checklist` item to pre-release template (#463)
14+
15+
- 2022-05-13, Align version number in DESCRIPTION file with actual version (#443)
16+
17+
- 2022-05-13, Update guidelines for CONTRIBUTING.md (#366, #462)
18+
19+
- 2022-05-09, Add section on authorship of included code, thanks to `@KlausVigo` (#388).
20+
21+
- 2022-05-09, Remove mention of 'rev' role requiring R v3.5
22+
23+
- 2022-05-05, Move all scripts from local `inst` directory to `ropensci-org/devguider` pkg.
24+
25+
- 2022-05-03, Update package archiving guidance to reduce README to minimal form.
26+
27+
- 2022-04-29, Advise that authors can directly call `@ropensci-review-bot check package`.
28+
29+
- 2022-04-29, Describe `pkgcheck-action` in CI section.
30+
31+
- 2022-04-29, Update scope in policies section to include statistical software.
32+
33+
- 2022-04-29, Add `prelease.R` script to open pre-release GitHub issue & ref in appendix.
34+
35+
- 2022-04-26, Add GitHub 2FA recommendation to package security.
36+
37+
- 2022-03-29, Remove references to Stef Butland, former community manager.
38+
39+
- 2022-03-28, Add comments on submission planning about time commitment.
40+
41+
- 2022-03-24, Remove approval comment template (coz it's automatically generated by the bot now).
42+
43+
- 2022-03-21, rephrase CITATION guidance to make it less strict. Also mentions CITATION.cff and the cffr package.
44+
45+
- 2022-03-08, add links to blogs related to package development (#389).
46+
47+
- 2022-02-17, update redirect instructions (`@peterdesmet`, #387).
48+
49+
- 2022-02-14, link to Michael Lynch's post Why Good Developers Write Bad Unit Tests.
50+
51+
- 2022-02-14, mention more packages for testing like dittodb, vcr, httptest, httptest2, webfakes.
52+
53+
- 2022-01-10, make review templates R Markdown files (`@Bisaloo`, #340).
54+
55+
- 2022-01-14, update guidance on CI services (#377)
56+
57+
- 2022-01-11, update guidance around branches, with resources suggested by `@ha0ye` and `@statnmap`.
58+
59+
- 2022-01-10, divide author's guide into sub-sections, and add extra info including `pkgcheck`.
60+
61+
* 2021-11-30, adds links to examples of reviews, especially tough but constructive ones (with help from `@noamross`, `@mpadge`, #363).
62+
63+
* 2021-11-19, add recommended spatial packages to scaffolding section (software-review-meta#47)
64+
65+
* 2021-11-18, update advice on grouping functions for pkgdown output (#361)
66+
567
## 0.7.0
668

769
* 2021-11-04, add mentions of stat software review to software review intro and to the first book page (#342).
870

971
* 2021-11-04, mention pkgcheck in the author guide (@mpadge, #343).
1072

11-
* 2021-11-04, add editors' responsabilities including Editor etiquette for commenting on packages on which you aren't handling/reviewing (@jhollist, #354).
73+
* 2021-11-04, add editors' responsibilities including Editor etiquette for commenting on packages on which you aren't handling/reviewing (@jhollist, #354).
1274

1375
* 2021-11-04, give precise examples of tools for installation instructions (remotes, pak, R-universe).
1476

@@ -291,34 +353,6 @@ Editors may make use of the e-mail template below in recruiting reviewers.
291353
292354
```
293355

294-
# Approval comment template {#approvaltemplate}
295-
296-
````markdown
297-
```{r, eval = !knitr::is_latex_output(), results="asis", echo=FALSE, comment = ""}
298-
withr::with_tempfile("tf", {
299-
download.file(
300-
"https://raw.githubusercontent.com/ropensci/software-review/master/.buffy/templates/approved.md",
301-
tf
302-
)
303-
lines <- readLines(tf)
304-
cat(lines[2:(length(lines) - 1)], sep = "\n")
305-
}
306-
)
307-
308-
```
309-
````
310-
311-
```{r, eval = knitr::is_latex_output(), echo=FALSE, comment = "", results='asis'}
312-
withr::with_tempfile("tf", {
313-
download.file(
314-
"https://raw.githubusercontent.com/ropensci/software-review/master/.buffy/templates/approved.md",
315-
tf
316-
)
317-
lines <- readLines(tf)
318-
cat(lines[2:(length(lines) - 1)], sep = "\n\n")
319-
}
320-
)
321-
```
322356

323357
# Reviewer approval comment template {#approval2template}
324358

@@ -343,6 +377,10 @@ cat(lines[2:(length(lines) - 1)], sep = "\n\n")
343377

344378
# Book release guidance {#bookreleaseissue}
345379

380+
Editors preparing for a release can run the `prelease.R` script in the `inst` directory of this repository to automatically open a GitHub issue with checkpoints for all current issues assigned to the upcoming release milestone, along with the following checklist.
381+
Before running the script, please manually check the assignment of issues to the milestone.
382+
This should be run one month prior to planned release.
383+
346384

347385
```markdown
348386
```{r, eval = !knitr::is_latex_output(), child="templates/book-release.md"}
@@ -357,15 +395,12 @@ cat(lines[2:(length(lines) - 1)], sep = "\n\n")
357395

358396
## Non GitHub pages site (e.g. Netlify)
359397

360-
Replace the content of the current website with
398+
Replace the content of the current website with a `index.html` and `404.html` files both containing:
361399

362400
```html
363401
<html>
364402
<head>
365-
<meta http-equiv="refresh" content="0;URL=https://docs.ropensci.org/<pkgname>/" />
366-
<script language="javascript">
367-
window.location.href = "https://docs.ropensci.org/<pkgname>"
368-
</script>
403+
<meta http-equiv="refresh" content="0;URL=https://docs.ropensci.org/<pkgname>/">
369404
</head>
370405
</html>
371406
```
@@ -374,7 +409,6 @@ Replace the content of the current website with
374409

375410
You can setup the redirect from your main user gh-pages repository:
376411

377-
- create a new repository (if you don't have one yet): `https://github.com/<username>/<username>.github.io`
378-
- In this repository create a directory `<pkgname>` containing the file `index.html` that redirects to the new location (see previous subsection)
379-
- Test that https://<username>.github.io/<pkgname>/index.html now redirects
380-
- Optional: you could even create a `404.html` file in your `<username>.github.io` repo to redirect arbitrary pages.
412+
- create a new repository (if you don't have one yet): `https://github.com/<username>/<username>.github.io`.
413+
- In this repository create a directory `<pkgname>` containing 2 files: a `index.html` and `404.html` file, which both redirect to the new location (see previous subsection).
414+
- Test that `https://<username>.github.io/<pkgname>/index.html` now redirects.

index.Rmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "rOpenSci Packages: Development, Maintenance, and Peer Review"
3-
author: "rOpenSci software review editorial team (current and alumni): Brooke Anderson, Scott Chamberlain, Laura DeCicco, Julia Gustavsen, Jeff Hollister, Anna Krystalli, Mauro Lepore, Lincoln Mullen, Karthik Ram, Emily Riederer, Noam Ross, Maëlle Salmon, Adam Sparks, Melina Vidoni"
3+
author: "rOpenSci software review editorial team (current and alumni): Brooke Anderson, Scott Chamberlain, Laura DeCicco, Julia Gustavsen, Jeff Hollister, Anna Krystalli, Mauro Lepore, Lincoln Mullen, Mark Padgham, Karthik Ram, Emily Riederer, Noam Ross, Maëlle Salmon, Adam Sparks, Melina Vidoni"
44
date: "`r Sys.Date()`"
55
site: bookdown::bookdown_site
66
documentclass: book
@@ -52,7 +52,7 @@ The [second section](#softwarereviewintro) is dedicated to rOpenSci's software p
5252

5353
The [third and last section](#collaboration) features our best practice for nurturing your package once it has been onboarded: how to collaborate with other developers, how to document releases, how to promote your package and how to leverage GitHub as a development platform. The third section also features a [chapter for anyone wishing to start contributing to rOpenSci packages](#contributingguide).
5454

55-
We hope that you'll find the guide useful and clear, and welcome your suggestions in the [issue tracker of the book](https://github.com/ropenscilabs/dev_guide/issues). Happy R packaging!
55+
We hope that you'll find the guide useful and clear, and welcome your suggestions in the [issue tracker of the book](https://github.com/ropensci/dev_guide/issues). Happy R packaging!
5656

5757
The rOpenSci editorial team.
5858

@@ -69,5 +69,7 @@ done <- file.remove("dev_citation_BibTeX.bib")
6969

7070
_If you want to contribute to this book (suggestions, corrections) please refer to [the GitHub repository](https://github.com/ropensci/dev_guide) in particular [the contributing guidelines](https://github.com/ropensci/dev_guide#contributing). Thanks!_
7171

72-
_We are thankful for all authors, reviewers and guest editors for helping us improve the system and this guide over the years. Thanks also to the following persons who made contributions to this guide and its previous incarnations: [Katrin Leinweber](https://github.com/katrinleinweber), [John Baumgartner](https://github.com/johnbaums), [François Michonneau](https://github.com/fmichonneau), [Christophe Dervieux](https://github.com/cderv), [Lorenzo Busetto](https://github.com/lbusett), [Ben Marwick](https://github.com/benmarwick), [Nicholas Horton](https://github.com/nicholasjhorton), [Chris Kennedy](https://github.com/ck37), [Mark Padgham](https://github.com/mpadge), [Jeroen Ooms](https://github.com/jeroen), [Sean Hughes](https://github.com/seaaan), [Jan Gorecki](https://github.com/jangorecki), [Joseph Stachelek](https://github.com/jsta), [Dean Attali](https://github.com/daattali), [Julia Gustavsen](https://github.com/jooolia), [Nicholas Tierney](https://github.com/njtierney), [Rich FitzJohn](https://github.com/richfitz), [Tiffany Timbers](https://github.com/ttimbers), [Hilmar Lapp](https://github.com/hlapp), [Miles McBain](https://github.com/milesmcbain), [Bryce Mecum](https://github.com/amoeba), [Jonathan Carroll](https://github.com/jonocarroll/), [Carl Boettiger](https://github.com/cboettig/), [Florian Privé](https://github.com/privefl), [Stefanie Butland](https://github.com/stefaniebutland), [Daniel Possenriede](https://github.com/dpprdan/), [Hadley Wickham](https://github.com/hadley/), [Hugo Gruson](https://github.com/bisaloo/), [Mauro Lepore](https://github.com/maurolepore/), [Matthew Fidler](https://github.com/mattfidler), [Luke McGuinness](https://github.com/mcguinlu), [Aaron Wolen](https://github.com/aaronwolen), [Indrajeet Patil](https://github.com/IndrajeetPatil), [Kevin Wright](https://github.com/kwstat), [Will Landau](https://github.com/wlandau), [Hugo Gruson](https://github.com/Bisaloo). Please tell us if we forgot to acknowledge your contribution!_
72+
_We are thankful for all authors, reviewers and guest editors for helping us improve the system and this guide over the years. Thanks also to the following persons who made contributions to this guide and its previous incarnations: [Katrin Leinweber](https://github.com/katrinleinweber), [John Baumgartner](https://github.com/johnbaums), [François Michonneau](https://github.com/fmichonneau), [Christophe Dervieux](https://github.com/cderv), [Lorenzo Busetto](https://github.com/lbusett), [Ben Marwick](https://github.com/benmarwick), [Nicholas Horton](https://github.com/nicholasjhorton), [Chris Kennedy](https://github.com/ck37), [Mark Padgham](https://github.com/mpadge), [Jeroen Ooms](https://github.com/jeroen), [Sean Hughes](https://github.com/seaaan), [Jan Gorecki](https://github.com/jangorecki), [Joseph Stachelek](https://github.com/jsta), [Dean Attali](https://github.com/daattali), [Julia Gustavsen](https://github.com/jooolia), [Nicholas Tierney](https://github.com/njtierney), [Rich FitzJohn](https://github.com/richfitz), [Tiffany Timbers](https://github.com/ttimbers), [Hilmar Lapp](https://github.com/hlapp), [Miles McBain](https://github.com/milesmcbain), [Bryce Mecum](https://github.com/amoeba), [Jonathan Carroll](https://github.com/jonocarroll/), [Carl Boettiger](https://github.com/cboettig/), [Florian Privé](https://github.com/privefl), [Stefanie Butland](https://github.com/stefaniebutland), [Daniel Possenriede](https://github.com/dpprdan/), [Hadley Wickham](https://github.com/hadley/), [Mauro Lepore](https://github.com/maurolepore/), [Matthew Fidler](https://github.com/mattfidler), [Luke McGuinness](https://github.com/mcguinlu), [Aaron Wolen](https://github.com/aaronwolen), [Indrajeet Patil](https://github.com/IndrajeetPatil), [Kevin Wright](https://github.com/kwstat), [Will Landau](https://github.com/wlandau), [Hugo Gruson](https://github.com/Bisaloo),
73+
[Hao Ye](https://github.com/ha0ye),
74+
[Sébastien Rochette](https://github.com/statnmap). Please tell us if we forgot to acknowledge your contribution!_
7375

inst/book_grooming.R

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

inst/spelling-check.R

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

inst/thanks.R

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

maintenance_changing_maintainers.Rmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ We have a call for contributors section in our newsletter that comes out every t
2828
It depends; here's what to do in different scenarios:
2929

3030
- if the old maintainer can be contacted: reach out to them, and ask for help;
31-
- rOpenSci slack: good for getting help on specific or general problems, the #general room is where many ask questions;
32-
- rOpenSci discussion forum: this forum is a good option, feel free to ask any questions there;
33-
- rOpenSci staff: feel free to get in touch with one of us via slack/email/pinging us on GitHub issues, we'll be happy to help;
34-
- of course there's general R help too if that suits your needs: StackOverflow, Twitter #rstats, etc.
31+
- rOpenSci slack: good for getting help on specific or general problems, see the #package-maintenance channel;
32+
- [rOpenSci discussion forum](https://discuss.ropensci.org/c/package-development/29): this forum is a good option, feel free to ask any questions there;
33+
- [rOpenSci staff](https://ropensci.org/about/#team): feel free to get in touch with one of us via email/pinging us on GitHub issues, we'll be happy to help;
34+
- of course there's general R help too if that suits your needs: RStudio community forum, StackOverflow, Twitter #rstats, etc.
3535

3636
* How much can/should you change in the package?
3737

@@ -53,7 +53,7 @@ As an organization, rOpenSci is interested in making sure packages in our suite
5353
* Make contact and see what the situation is. They may say they’d like to step down as maintainer, in which case look for a new maintainer
5454
* Current maintainer is completely missing/not responding
5555
* If this happens we will try to contact the maintainer for up to one month. However, if updating the package is urgent, we may use our admin access to make changes on their behalf.
56-
* Put a call out in the “Call for Contributors” section of the rOpenSci newsletter for a new maintainer - get in touch with Scott for this or open an issue in the [newsletter repo](https://github.com/ropensci/biweekly/)
56+
* Put a call out in the “Call for Contributors” section of the rOpenSci newsletter for a new maintainer - open an issue in the [newsletter repo](https://github.com/ropensci/monthly/).
5757

5858

5959
[orphaned]: https://cran.r-project.org/src/contrib/Orphaned/README

0 commit comments

Comments
 (0)