collaborative package development in r

18
R Workflow Series - Capstone Ed Goodwin Neeraj Tandon

Upload: egoodwintx

Post on 16-Apr-2017

150 views

Category:

Data & Analytics


1 download

TRANSCRIPT

R Workflow Series - Capstone

Ed Goodwin Neeraj Tandon

Join Our Slack Channel!https://hrug.slack.com/

Don’t follow along yet

Create A Project in RStudio

is your friend…

Now let’s add some unit tests!

Add a test…

Add a function!

Run your tests

Commit your code

Push to the repository

Let’s follow along

Workflow

• Fork the project & clone locally. • Do the work, write good commit messages, and read the

CONTRIBUTING file if there is one. • Push to your origin repository. • Create a new Pull Request in GitHub. • Respond to any code review feedback.

Fork the repo

Clone your Repository to your local system

git clone https://github.com/egoodwintx/hrugrhelpr.git

Now just add your code (put your function in a single .R file in

the ./R/ directory)

Commit

Push to github

When you are ready…issue a pull request so we can add you to the package

Congratulations! You’re done!