This repository has been archived by the owner on Jan 13, 2021. It is now read-only.
/
TK_12.Rmd
71 lines (53 loc) · 3.54 KB
/
TK_12.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
title: Project Peer Review
subtitle:
week: 12
type: Task
presentation: PS_12.html
reading:
- GitHub [Pull Requests](https://help.github.com/articles/about-pull-requests/)
- Chapter [28 in R4DS](http://r4ds.had.co.nz)
tasks:
- Review at least two other students' projects and make comments via a _pull request_ in GitHub.
- Browse the [Leaflet website](http://rstudio.github.io/leaflet/) and take notes in your readme.md about potential uses in your project. What data could you use? How would you display it?
- Browse the [HTML Widgets page](http://gallery.htmlwidgets.org/) for many more examples. Take notes in your readme.md about potential uses in your project.
---
```{r, echo=FALSE, message=FALSE, results='hide', purl=FALSE}
source("functions.R")
source("knitr_header.R")
```
`r presframe()`
# Reading
```{r reading,results='asis',echo=F}
md_bullet(rmarkdown::metadata$reading)
```
# Tasks
```{r tasks,results='asis',echo=F}
md_bullet(rmarkdown::metadata$tasks)
```
# Project Peer Evaluation
## Instructions
Select two repositories and evaluate them according to the instructions listed in the [Project First Draft task](TK_11.html)
![](project_assets/project_evaluation.png)
### Download and reproduce the project
1) Explore the final projects in the [class repository](https://github.com/AdamWilsonLabEDU?q=finalproject)
2) Select two projects that do not already have two evaluations (pull requests). For example, in the image above, there are 0 pull requests, so this repository would be available for you to review. If there are already 2 pull requests, select another repository.
2) Go to the github page linked in the assignment and download the repository as a zip file (click on the <img src='project_assets/download.png' width=100> button).
3) Unzip the file after it downloads
4) Open the project or `index.Rmd` in RStudio and click `Build Website` in the `Build` tab in the upper right.
5) Evaluate whether the project meets the specifications listed in the [Project First Draft task](TK_11.html)
### Provide feedback and evaluation via pull request
After you reproduce the project, you will provide feedback via pull request.
The following video will walk you through the steps of providing feedback via a pull request.
<iframe width="560" height="315" src="https://www.youtube.com/embed/wy9EggBhC-M" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
1) In the "Code" tab of the github page for the project, click on the file you want to provide feedback on (typically this will be `index.Rmd`)
2) Click the pencil icon on the right side to edit the file
3) You can make changes or comment on the code
* To make changes, simply edit the text
* To comment, you must still make some sort of change on the lines where you want to cmment. The easiest thing is simply to add a space at the end of the line (as I do in the video above).
4) At the bottom of the file, there is a section called "Commit Changes", select the button for **Create a new branch for this commit and start a pull request.** and name the new branch `project_feedback_githubusername`
5) Click "Propose File change"
6) Click on the button "Files Changed #1" near the middle of the next page
7) Hover over lines you would like to comment on and click the little blue plus button. Then enter your comment and select "Add single comment"
6) Repeat steps 2-6 for any additional files you want to comment on
Be sure to install any required libraries (do not complain if it fails because you don't have a library installed).