Skip to content
Prev 39481 / 63424 Next

Feature request: display file name in R CMD check warning

On 11-03-17 12:33 PM, Dan Tenenbaum wrote:
I installed a lot of dependencies, but couldn't trust check because of 
this warning:

Found the following significant warnings:
   Warning: running command 'C:\WINDOWS\system32\cmd.exe /c ftype perl' 
had status 2

I'm not sure where this comes from; I don't think bgafun uses perl, so 
it's from one of the dependencies.  But I think the error message you 
are seeing is spurious:  something else is going wrong when check tries 
to check \usage sections, and so it reports that there was an error.

As a sort of confirmation of this, I removed the dependencies from the 
DESCRIPTION file and tried to run check; I got lots of errors because of 
the missing dependencies now, but the one about S3 methods went away.

Not sure what to suggest to diagnose this; I'm not familiar with most of 
those packages I just installed as dependencies.  But I think it's safe 
to say that you shouldn't worry about the \usage sections.

If you do figure out what's going wrong, please let us know because it 
would probably be a good idea to fix the usage checks so they give the 
right message.

Duncan Murdoch