I'm glad you're reading this because I am still learning to collaborate. Thank you for joining me on this journey.
Here are some important resources:
- The basic idea behind our neutralisation assays at Ferrara and Temperton, Methods Protoc. 2018
- Extremely helpful basics on how to submit a PR by Fireship.
Please send a GitHub Pull Request to NormaliseForIC50 with a clear list of what you've done (read more about pull requests).
-
When you send a pull request, we will love you forever if you include a unittest using testthat. We can always use more test coverage.
-
Please follow our coding conventions (below) and make sure all of your commits are atomic (one feature per commit).
-
Always write a clear log message for your commits. One-line messages are fine for small changes, but bigger changes should look like this:
$ git commit -m "A brief summary of the commit
A paragraph describing what changed and its impact."
Start reading our code and you'll get the hang of it. We optimize for readability:
- Name files, functions, and variables sensibly. Guide by Hadley Wickham
- AVOID using absolute paths and
setwd()
in your script!- If you're programming a cooking robot, you wouldn't start them by programming how to get from your front door to your kitchen!
- The robot will end up in another room, or run into a wall because you have different interior designs. (The other user's computer will not share the same file structure as yours)
- It is not wise to let other people know the interior design of your house (file system).
- instead use the magic of the here package to start at the top-level of current project.
- Examples can be found on how to use here::here on a .Rmd, and this nice ode.
- If you're programming a cooking robot, you wouldn't start them by programming how to get from your front door to your kitchen!
- We ALWAYS put spaces after list items and method parameters (
[1, 2, 3]
, not[1,2,3]
), around operators (x += 1
, notx+=1
), and around hash arrows. - This is open-source software. Consider the people who will read your code, and make it look nice for them. It's like driving a car: Perhaps you love doing donuts when you're alone, but with passengers, the goal is to make the ride as smooth as possible.
Thanks,
Mark TK Cheng
Visiting Researcher at CITIID and Student Doctor at the University of Cambridge
This contributing guideline is heavily based on Open Government's contributing guidelines.