package_replace | R Documentation |
Package replacement with specified version of package
package_replace(
package,
version,
repo = "https://cloud.r-project.org",
force = FALSE,
upgrade = "default",
...
)
package |
name of package |
version |
version to install |
repo |
Optional repository. Default is CRAN. |
force |
Optional force replacement if package version already installed. Default is FALSE |
upgrade |
Optional should package dependencies be upgraded? One of "default", "ask", "always", or "never". |
... |
Optional parameters from package remotes |
installs the desired package version
# package_replace(package = "roxygen2", "7.1.2", force = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.