git_create_sample_log | R Documentation |
This is a SetUp helper function for Kaiaulu unit tests that manipulates git logs.
git_create_sample_log(folder_path = "/tmp")
folder_path |
An optional path to where the sample .git should be created. |
A folder kaiaulu_sample is created in /tmp by default. A file, hello.R with a single print is then added to the folder. Git init is performed, the file is git add, and commit to the git log.
The path to the sample .git file.
Other unittest:
git_delete_sample_log()
,
make_jira_issue()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.