I have a package called rpackage on a local (corporate) repo. When I run install.packages(\"rpackage\") it tells me that:
Installin
Unfortunately, neither the help files or the error message explained why this error was occurring. As it turns out, install.packages() also fails when the source package is not available, but the binary does. This is not documented behaviour (or more generously - it is not clearly documented):
For binary installs, the function also checks for the availability of a source package on the same repository, and reports if the source package has a later version, or is available but no binary version is. This check can be suppressed by
options(install.packages.check.source = "no")
To fix, options(install.packages.check.source = FALSE). This can also be included in your .First function.