Built on a skeleton directory to jumpstart an analysis project
- Look at the Git history of this file to see how it evolved
- I just changed the title name and added this paragraph here
- I added some project related files
- Start a New Project in Rstudio
- Use
Version Control
>Git
> Repo Urlhttps://github.com/statsccpr/proj_skel.git
- Use a relevant domain-specific name for your local project (NOT
proj_skel
) - Choose local destination for your local project
- Note: uses
/misc/.Rprofile
which you can modify
- place chickenscratch prototype scripts in
/tests/proto/
- place good-standing scripts in
/scripts/
- place raw data in
/data/raw/
- place processed data in
/data/proc/
- place output in
/output/
- place writeup in
/writeup/
- formal assertion-travisci tests in
/tests/
- push your local project to new github repo (NOT
proj_skel
)
- login github
- https://github.com/new
- See this
- git remote add github git@foo_new_name_from_step_1
- git push -u github master
- See general reference on remote
- Tell collaborators to
Fork
your github repo as their own local repo - They make changes and
Push
to their own global repo - Everyone can
New Pull Request
>Compare Across Forks
- Pull
head fork
edits (yours) intobase fork
edits (theirs)