[R-pkg-devel] R CMD check getting stalled
Winston Chang
winstonchang1 at gmail.com
Fri May 29 05:06:20 CEST 2015
I should also mention that on the machine that had this problem, the user
had installed some software that provided the du program in
c:/windows/system32.
On that machine, with 64-bit R:
> > system2("du")
> Du v1.34 - report directory disk usage
Copyright (C) 2005-2009 Mark Russinovich
Sysinternals - www.sysinternals.com
> usage: C:\Windows\system32\du.exe [[-v] [-l <levels>] | [-n]] [-q]
> <directory>
-l Specify subdirectory depth of information (default is all levels).
-n Do not recurse.
-q Quiet (no banner).
-u Count only unique file occurences.
-v Show size (in KB) of intermediate directories.
> Warning message:
running command '"du"' had status 65535
-Winston
On Thursday, May 28, 2015, Hadley Wickham <h.wickham at gmail.com
<javascript:_e(%7B%7D,'cvml','h.wickham at gmail.com');>> wrote:
> Ok, it looks like it's actually quite a subtle problem. (Thanks to
> Winston Chang for tracking it down). The root of the problem appears
> to be the call to du at
>
> https://github.com/wch/r-source/blob/9ffe87264a1cd59a31a829f72d57af0f1bfa327a/src/library/tools/R/check.R#L3639
>
> With 32-bit R Sys.which("du") finds Rtools/bin/du.exe, whereas 64-bit
> R finds c:/windows/system32/du.exe (see attached screenshot).
>
> Hadley
>
>
> On Thu, May 28, 2015 at 4:04 PM, Uwe Ligges
> <ligges at statistik.tu-dortmund.de> wrote:
> > I guess a package that was installed by root and later on checked by a
> > regular user or some such, so that permissions do not match.
> >
> > I think I'd try to remove the package from all libraries and try again.
> And
> > note that network drives/mounts may be the source of such a problem when
> > some listings are disabled.
> >
> > Best,
> > Uwe Ligges
> >
> >
> >
> >
> > On 28.05.2015 23:02, Hadley Wickham wrote:
> >>>
> >>> Wild guess: It's not the package but the file system or file
> permissions
> >>> so
> >>> that you cannot determine the size.
> >>
> >>
> >> Do you have any thoughts on where specifically to look? Permissions of
> >> the library or of the current dir?
> >>
> >> I also wondered if it might be caused by a recursive link that caused
> >> the size inspection to never finish, but there aren't any symlinks in
> >> the package.
> >>
> >> I have one student in a class of ~60 students who has this problem.
> >> The package source is at https://github.com/hadley/rv2/tree/check-me,
> >> but it seems unlikely to be related to the package as it works for
> >> everyone else.
> >>
> >> Hadley
> >>
> >
>
>
>
> --
> http://had.co.nz/
>
--
Sent from my phone
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list