check | R Documentation |
Check if a dependency is installed and if not it recommends how to install it
depending on the operating system. Most importantly it checks for
git
, make
& docker
. And just for convenience of the installation it
checks on OS X for Homebrew
and on Windows for Chocolately
.
check_docker()
check_make()
check_git()
check_brew()
check_choco()
check_ssh(install = getOption("repro.install"))
check_github_token(install = getOption("repro.install"))
check_github_token_access()
check_github_ssh()
check_github(auth_method = "token")
check_renv(install = getOption("repro.install"))
check_targets(install = getOption("repro.install"))
check_worcs(install = getOption("repro.install"))
install |
Should something be installed? Defaults to "ask", but can be TRUE/FALSE. |
auth_method |
How do you want to authenticate with GitHub? Either "token" (default) or "ssh". |
Other checkers:
check_package()
,
has_package()
,
has
,
uses
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.