powered by
Read the Git repository name from the .git folder.
.git
git.repo(path = ".", owner = FALSE, warn = FALSE)
String of the format "[owner]/repo".
"[owner]/repo"
top directory of a Git repository.
whether to include the repository owner name.
whether to generate a warning if no .git/config file is found.
.git/config
draft.readme calls git.repo to include the repository name in the README.md.
draft.readme
git.repo
README.md
TAF-package gives an overview of the package.
TAF-package
if (FALSE) { git.repo() git.repo(owner=TRUE) }
Run the code above in your browser using DataLab