View source: R/student-repos.R
pull_hw | R Documentation |
Update student homework repositories.
pull_hw(hw_dir, cohort = "")
hw_dir |
Character; Path to homework directory |
cohort |
Character; Cohort directory |
The returned result is a list of [ git response stuff that i should probably
detail more precisely ], named according to the CodeClan naming convention
for student homework repositories. The path provided to hw_dir
can be
the path to a single repository, or a directory containing one or more
repositories. In the latter case, the cohort
parameter may also be
used to specify a sub-directory.
List, named by student, containing information on the result of the pull operation. This is returned invisibly, so if it is required, it should be assigned
## Not run: hw_root_dir <- '/Users/user/Documents/GitHub/homework' cohort <- 'de999' pull_response <- pull_hw(c('zzz', hw_root_dir), cohort) # 'zzz' fails ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.