Description Usage Arguments Details Value See Also Examples
Return a list of available outsider modules. (Not possible for BitBucket.)
1 | module_search(service = c("github", "gitlab"))
|
service |
Code-sharing service, e.g. GitHub |
Note: To search GitLab an access token is required. To create one:
1. Visit the personal access tokens section of your GitLab profile
https://about.gitlab.com/
2. Create a new token with api scope
3. Save the generated token to .Renviron
(try usethis::edit_r_environ()
) with the line
"GITLAB_PAT=your access token
"
For increased search relaiability, a token can be created for GitHub as well. Visit https://github.com/settings/tokens to create a token and save it to .Renviron as "GITHUB_PAT".
Character vector
Other public:
is_module_installed()
,
module_details()
,
module_functions()
,
module_help()
,
module_import()
,
module_installed()
,
module_install()
,
module_uninstall()
1 2 3 4 5 6 7 8 9 10 11 12 13 | library(outsider)
# return table of ALL available modules on GitHub
# NOT RUN - takes too long
## Not run:
(available_modules <- module_search())
## End(Not run)
# look-up specific modules
repo <- 'dombennett/om..goodbye.world'
(suppressWarnings(module_details(repo = repo))) # no module exists, expect warning
repo <- 'dombennett/om..hello.world'
(module_details(repo = repo))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.