Description Usage Arguments Details Value Author(s)
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
has_devel
.
1 2 |
package |
package name |
version |
If the specified version is NA or the same
as the most recent version of the package, this function
simply calls |
compare |
If specified, and if the version is specified, enforces comparison of the package version. Valid values: ==, <, >, >=, or <= |
... |
Other arguments passed on 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. Possible values are The default is the appropriate binary type on Windows and
on the CRAN binary OS X distribution, otherwise
|
Note: This is an updated version of devtools 'install_version' It has been fixed to work with the latest CRAN repository and updated to support version comparisons (i.e. >, ==, <, etc.)
whether the version was installed
Jeremy Stephens
Yoni Ben-Meshulam
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.