See Runit::defineTestSuite and its testFileRegexp and testFuncRegexp parameters.
In each project I work on, one of the first things I set up is a little RScript
helper that runs a particular test suite. Also, instead of sourcing files
directly, this script adds the Rcheck directory to the front
Le 09/12/10 04:54, Christian Gunning a écrit :
On Wed, Dec 8, 2010 at 1:18 AM, Romain Francois
wrote:
It might make sense to get rid of the log = argument and maybe add a ldnorm,
or log_dnorm, or dnorm_log instead. so that there is no ambiguity.
One nice part about the current setup is that
> With that I simply do
>
> $ ~/bin/runit.sh -p Rcpp,inline inst/unitTests/runit.stats.R
>
> as shown below.
Thanks, works for me.
-xian
--
A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal – Panama!
___
Rcpp-devel mailing list
Rcpp-devel@l
On 8 December 2010 at 20:54, Christian Gunning wrote:
| On Wed, Dec 8, 2010 at 1:18 AM, Romain Francois
| wrote:
| >
| > It might make sense to get rid of the log = argument and maybe add a ldnorm,
| > or log_dnorm, or dnorm_log instead. so that there is no ambiguity.
|
| One nice part about the
On Wed, Dec 8, 2010 at 1:18 AM, Romain Francois
wrote:
>
> It might make sense to get rid of the log = argument and maybe add a ldnorm,
> or log_dnorm, or dnorm_log instead. so that there is no ambiguity.
One nice part about the current setup is that R-exts.pdf chapter 6
serves as a (mostly) defi
Le 08/12/10 05:25, Christian Gunning a écrit :
Your contributions are useful. It helps us understanding how people from
outside the team use Rcpp.
Thanks. As per Dirk's comment, I went back to the unit tests and will
use those as guidance for quickref.
The problem I got stuck on looks to be t
On 7 December 2010 at 21:25, Christian Gunning wrote:
| > Your contributions are useful. It helps us understanding how people from
| > outside the team use Rcpp.
|
| Thanks. As per Dirk's comment, I went back to the unit tests and will
| use those as guidance for quickref.
|
| The problem I got
> Your contributions are useful. It helps us understanding how people from
> outside the team use Rcpp.
Thanks. As per Dirk's comment, I went back to the unit tests and will
use those as guidance for quickref.
The problem I got stuck on looks to be the use of int versus double
values for dnorm's