Search code examples
rmicrosoft-r

mro 3.4.0 bug with install.packages


There was a bug with the general release of R 3.4.0 that has since been patched for 3.4.0 and also included in 3.4.1, but apparently has not been fixed for mro 3.4.0.  When is the fix/patch going to be available for mro?  What is the work-around besides reverting back to mro 3.3.3?  As it stands now, after installing mro 3.4.0, I cannot install any packages.

Here is a similar post on SO for R 3.4.0, but it does not address Microsoft R Open.

Here is an announcement regarding the bug fix for R 3.4.0/1. This release fixes a few minor bugs reported after the release of R 3.4.0, including an issue sometimes encountered when attempting to install packages on Windows.

Note that I also posted at the MS R Open forum, but figured I might be more likely to get a quick response here.

Thanks,

Kyle

As requested, here is the actual error I get: Error message


Solution

  • The specific error you got is related to some bug in the code that checks for the last modified date of a directory. This returns nothing if there is another application looking at that directory. A file browser for example.

    Here is the bugfix specifying what exactly went wrong:

    CHANGES IN R 3.4.0 patched BUG FIXES

    ‘file.mtime()’ no longer returns NA on Windows when the file or directory is being used by another process.

    http://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2017/04/29#n2017-04-29

    Checking for that and closing any such applications should be a workaround for this bug for the time being.

    @HongOoi mentioned in the comments that generally there is a month between the CRAN R releases and the following MRO update, so MRO 3.4.1 should take about 3 more weeks.

    Update: Mro 3.4.1has been released