install_version {remotes} | R Documentation |
If you are installing an package that contains compiled code, you will
need to have an R development environment installed. You can check
if you do by running devtools::has_devel
(you need the
devtools
package for this).
install_version(package, version = NULL, dependencies = NA, upgrade = c("default", "ask", "always", "never"), force = FALSE, quiet = FALSE, build = FALSE, build_opts = c("--no-resave-data", "--no-manual", "--no-build-vignettes"), repos = getOption("repos"), type = "source", ...)
package |
package name |
version |
If the specified version is NULL or the same as the most
recent version of the package, this function simply calls
|
dependencies |
logical indicating whether to also install
uninstalled packages which these packages depend on/link
to/import/suggest (and so on recursively). Not used if Only supported if The default,
In all of these, |
upgrade |
One of "default", "ask", "always", or "never". "default"
respects the value of the |
force |
Force installation, even if the remote state has not changed since the previous install. |
quiet |
logical: if true, reduce the amount of output. |
build |
If |
build_opts |
Options to pass to |
repos |
character vector, the base URL(s) of the repositories
to use, e.g., the URL of a CRAN mirror such as
Can be |
type |
character, indicating the type of package to download and
install. Will be |
... |
Other arguments passed on to |
Jeremy Stephens
Other package installation: install_bioc
,
install_bitbucket
,
install_cran
, install_dev
,
install_github
,
install_gitlab
, install_git
,
install_local
, install_svn
,
install_url