[Rd] diagnosing a CMD check failure

Vincent Carey stvjc at channing.harvard.edu
Fri Dec 17 21:38:48 CET 2010


That got me a little further.  system2() seems not to like my system.

> system("date")
Fri Dec 17 15:35:21 EST 2010
> system2("date")
sh: : No such file or directory

This is with 2.13 r53555.

On Fri, Dec 17, 2010 at 3:01 PM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:
> On 17/12/2010 2:12 PM, Vincent Carey wrote:
>>
>> I have created a quite minimal package with a simple R program in the
>> tests subfolder.
>>
>> When I run CMD check, I get
>>
>> * checking examples ... OK
>> * checking for unstated dependencies in tests ... OK
>> * checking tests ...sh: : No such file or directory
>>  ERROR
>>
>> I don't see a way of diagnosing this.  The content of tests is the program
>> t1.R
>>
>> rex-bash-3.2$ cat t1.R
>> date()
>>
>> On other machines I can successfully check the package, so it must be
>> a problem with my particular
>> configuration but how can I track down the problem?
>
> Try running tools::.check_packages directly.  The problem is coming in the
> local function run_tests.
>
> Duncan Murdoch
>
>> >  sessionInfo()
>> R version 2.13.0 Under development (unstable) (2010-11-11 r53555)
>> Platform: x86_64-unknown-linux-gnu (64-bit)
>>
>> locale:
>> [1] C
>>
>> attached base packages:
>> [1] stats     graphics  grDevices datasets  utils     methods   base
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



More information about the R-devel mailing list