Description Usage Arguments Value Examples
Inspect directory structure of git/bitbuck/svn repository head
1 2 3 4 5 6 7 8 | ls_remote(
path = getwd(),
branch = "master",
subdir = NULL,
vcs = "github",
full.names = FALSE,
PAT = Sys.getenv("GITHUB_PAT")
)
|
path |
character, Path to root directory of git/svn repository or a name of a github/bitbucket repository, Default: setwd() |
branch |
character, alias of the branch in the repository, Default: 'master' |
subdir |
chracter, subdirectory of repository/branch to query, if '.' then only the root directory will be queried, Default: NULL |
vcs |
character, choose which version control system to search (github, bitbucket, git (head of checkout repo), svn), Default: 'github' |
full.names |
boolean, If TRUE, the directory path is prepended to the file names to give a relative file path. If FALSE, the file names (rather than paths) are returned, Default: TRUE |
character
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.