Re: [Rcpp-devel] more on stats functions

2010-12-09 Thread Davor Cubranic
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

Re: [Rcpp-devel] more on stats functions

2010-12-09 Thread Romain Francois
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

Re: [Rcpp-devel] more on stats functions

2010-12-08 Thread Christian Gunning
> 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

Re: [Rcpp-devel] more on stats functions

2010-12-08 Thread Dirk Eddelbuettel
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

Re: [Rcpp-devel] more on stats functions

2010-12-08 Thread Christian Gunning
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

Re: [Rcpp-devel] more on stats functions

2010-12-08 Thread Romain Francois
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

Re: [Rcpp-devel] more on stats functions

2010-12-07 Thread Dirk Eddelbuettel
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

[Rcpp-devel] more on stats functions

2010-12-07 Thread Christian Gunning
> 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