Description Usage Arguments Value Examples
View source: R/check_commits.R
Check whether the user has at least three commits
1 | check_commits(repo = ".", branch = usethis::git_branch_default())
|
repo |
A character path to the repo to check. Defaults to the working directory. |
branch |
A string specifying the name of the default branch used for grading. |
A logical which indicates whether the repo has 3 commits or not
1 2 3 4 5 6 | ## Not run:
# navigate to a Git directory for a lab, e.g.:
# set_wd("~/mds/lab5")
labzenr:::check_commits()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.