github_ls_single | R Documentation |
Accepts a GitHub repository URL and identifies all files in the specified folder. If no folder is specified, lists top-level repository contents. This function only works on repositories (public or private) to which you have access.
github_ls_single(repo = NULL, folder = NULL)
repo |
(character) full URL for a GitHub repository (including "github.com") |
folder |
(NULL/character) either |
(dataframe) two-column dataframe including (1) the names of the contents and (2) the type of each content item (e.g., file/directory/etc.)
## Not run:
# List contents of the top-level of the `supportR` package repository
github_ls_single(repo = "https://github.com/njlyon0/supportR")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.