My package doesn't work for R 2.15.2

前端 未结 3 617
说谎
说谎 2020-12-19 18:14

I have a package called rpackage on a local (corporate) repo. When I run install.packages(\"rpackage\") it tells me that:

Installin         


        
3条回答
  •  佛祖请我去吃肉
    2020-12-19 18:40

    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.

提交回复
热议问题