Skip to content

Instantly share code, notes, and snippets.

@grayskripko
Created June 27, 2017 10:38
Show Gist options
  • Save grayskripko/6e36794630cdaaaf1dcb97d011d3a439 to your computer and use it in GitHub Desktop.
Save grayskripko/6e36794630cdaaaf1dcb97d011d3a439 to your computer and use it in GitHub Desktop.
missing value where TRUE/FALSE needed, devtools install, Windows 10, R 3.4.0
Patch for Windows https://cran.r-project.org/bin/windows/base/rtest.html
Otherwise you can close all file explorer windows :)
This bug appeares when R tryes to get modification date for C:\Users\<SomeUser>\Documents\R\win-library\3.4 folder (my case).
More precisely for one of .libPaths()
For R 3.4.0 it can be NA for an open folder (open = locked by another process). NA in if() gives the error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment