Did the subdirectory structure of package repositories change as of R 2.15.2?

前提是你 提交于 2019-12-09 06:49:26
imanuelcostigan

This particular bug isn't the same as mine.

This issue relates to checks install.packages() now runs before installing. As Rappster said, it tries to find a source package to compare the binary version with:

For a Windows or Mac OS X binary package install, install.packages() will check if a source package is available on the same repositories, and report if it is a later version or there is a source package but no binary package available.

So a simple way of squashing this message is creating the R/src/contrib directory and running tools::write_PACKAGES() in that directory to create (an empty) PACKAGES file.

And of course, the reason you aren't getting this message in 2.15.1 is that it doesn't do the checking (see R NEWS quote above) that 2.15.2 performs.

I have submitted a bug report of my issues. No news yet. May post it to the R mailing list as well.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!