-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from UrbanAnalyst/pkgcheck
Add examples for #113
- Loading branch information
Showing
12 changed files
with
151 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Contributing to gtfsrouter | ||
|
||
## Opening issues | ||
|
||
The easiest way to note any behavioural curiosities or to request any new | ||
features is by opening a [github issue](https://github.com/UrbanAnalyst/gtfsrouter/issues). | ||
|
||
|
||
## Development guidelines | ||
|
||
If you'd like to contribute changes to `gtfsrouter`, we use [the GitHub | ||
flow](https://guides.github.com/introduction/flow/index.html) for proposing, | ||
submitting, reviewing, and accepting changes. If you haven't done this before, | ||
there's a nice overview of git [here](https://r-pkgs.org/git.html), as well | ||
as best practices for submitting pull requests | ||
[here](https://r-pkgs.org/git.html#pr-make). | ||
|
||
The `gtfsrouter` coding style diverges somewhat from [this commonly used R style | ||
guide](http://adv-r.had.co.nz/Style.html), primarily in the following two ways, | ||
both of which improve code readability: (1) All curly braces are vertically aligned: | ||
```r | ||
this <- function () | ||
{ | ||
x <- 1 | ||
} | ||
``` | ||
and **not** | ||
```r | ||
this <- function(){ | ||
x <- 1 | ||
} | ||
``` | ||
and (2) Also highlighted in that code is the additional whitespace which | ||
permeates `gtfsrouter` code. Words of text are separated by whitespace, and so | ||
code words should be too: | ||
```r | ||
this <- function1 (function2 (x)) | ||
``` | ||
and **not** | ||
```r | ||
this <- function1(function2(x)) | ||
``` | ||
with the natural result that one ends up writing | ||
```r | ||
this <- function () | ||
``` | ||
with a space between `function` and `()`. That's it. | ||
|
||
|
||
## Code of Conduct | ||
|
||
We want to encourage a warm, welcoming, and safe environment for contributing to | ||
this project. See the | ||
[code of conduct](https://github.com/UrbanAnalyst/gtfsrouter/blob/master/CONDUCT.md) for | ||
more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.