R/peer_file_add_rev.R
peer_file_add_rev.Rdpeer_file_add_rev() takes a local file and adds it to author-specific folders on reviewers' repositories. The function's main purpose is to distribute review forms into the correct author-specific folders on reviewers' repositories.
peer_file_add_rev( org, roster, local_path, prefix = "", suffix = "", message = NULL, branch = "master", overwrite = FALSE, verbose = TRUE )
| org | Character. Name of the GitHub organization. |
|---|---|
| roster | Character. Data frame or file path of roster file with author-reviewer assignments. Must contain a column |
| local_path | Character. File name of file to be added. |
| prefix | Character. Common repository name prefix. |
| suffix | Character. Common repository name suffix. |
| message | Character. Commit message. |
| branch | Character. Name of branch the file should be committed to, defaults to |
| overwrite | Logical. Whether existing files in reviewers' repositories should be overwritten, defaults to |
| verbose | Logical. Should success/failure messages be printed, defaults to |
Other peer review functions:
peer_assign(),
peer_file_add_aut(),
peer_form_create_rating(),
peer_form_create_review(),
peer_init(),
peer_return(),
peer_roster_create(),
peer_score_rating(),
peer_score_review()
if (FALSE) { peer_file_add_rev(org = "ghclass-test", roster = "hw2_roster_seed12345.csv", local_path = "/Users/profx/introstats/hw2/hw2_review.Rmd", prefix = prefix) }