From murdoch.duncan at gmail.com  Fri Dec 17 21:01:20 2010
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Fri, 17 Dec 2010 15:01:20 -0500
Subject: [Rd] diagnosing a CMD check failure
In-Reply-To: <AANLkTinid3gNcmdaTEYN0nve9_xypXy_NRY0-uVoR9wm@mail.gmail.com>
References: <AANLkTinid3gNcmdaTEYN0nve9_xypXy_NRY0-uVoR9wm@mail.gmail.com>
Message-ID: <4D0BC190.5070108@gmail.com>

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



[Rd] diagnosing a CMD check failure
Duncan Murdoch