Skip to content
Prev 18417 / 63424 Next

dgamma error condition?

On Fri, 4 Nov 2005, Ben Bolker wrote:

            
No one has come up with any, so let us remove the errors in R-devel.

Note that rgamma is not protected at C level: try rgamma(10, -2), or 
(worse) rgamma(10, -20)  after removing the stop() call.