dependencies | R Documentation |
Install, remove or update the R package dependencies of your Rhino project.
pkg_install(packages)
pkg_remove(packages)
packages |
Character vector of package names. |
Use pkg_install()
to install or update a package to the latest version.
Use pkg_remove()
to remove a package.
These functions will install or remove packages from the local {renv}
library,
and update the dependencies.R
and renv.lock
files accordingly, all in one step.
The underlying {renv}
functions can still be called directly for advanced use cases.
See the Explanation: Renv configuration
to learn about the details of the setup used by Rhino.
None. This functions are called for side effects.
## Not run:
# Install dplyr
rhino::pkg_install("dplyr")
# Update shiny to the latest version
rhino::pkg_install("shiny")
# Install a specific version of shiny
rhino::pkg_install("shiny@1.6.0")
# Install shiny.i18n package from GitHub
rhino::pkg_install("Appsilon/shiny.i18n")
# Install Biobase package from Bioconductor
rhino::pkg_install("bioc::Biobase")
# Install shiny from local source
rhino::pkg_install("~/path/to/shiny")
# Remove dplyr
rhino::pkg_remove("dplyr")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.