Description Usage Arguments Value Examples
brew_install()
installs a formula or cask.
For information about additional arguments, see brew_help("install")
.
brew_reinstall()
uninstalls and then reinstalls a formula or
cask using the same options it was originally installed with, plus any
appended options specific to a formula.
brew_uninstall()
uninstalls a formula or cask
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | brew_install(
package,
cask = FALSE,
force = FALSE,
only_dependencies = FALSE,
keep_tmp = FALSE,
...
)
brew_install_formula(package, ...)
brew_install_cask(package, ...)
brew_reinstall(package, ...)
brew_uninstall(package, ...)
|
package |
Name of formula or cask |
cask |
If |
force |
Do not check for previous installations
(default: |
only_dependencies |
Install only dependencies and not the formula itself
(default: |
keep_tmp |
Do not delete temporary files created during installation
(default: |
... |
Arguments passed on to
|
A logical value indicating whether or not the installation was a success
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## Not run:
# Install unixodbc
brew_install("unixodbc")
## End(Not run)
## Not run:
# Install the Homebrew-compiled version of R
brew_install_formula("r")
## End(Not run)
## Not run:
# Install RStudio cask
brew_install_cask("rstudio")
## End(Not run)
## Not run:
# Reinstall unixodbc
brew_reinstall("unixodbc")
## End(Not run)
## Not run:
# Uninstall unixodbc
brew_uninstall("unixodbc")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.