Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-16 Thread Henrik Bengtsson
On Nov 10, 2007 1:27 PM, Simon Urbanek <[EMAIL PROTECTED]> wrote: > > > On Nov 10, 2007, at 1:05 PM, Duncan Murdoch wrote: > > > On 10/11/2007 1:00 PM, Duncan Temple Lang wrote: > >> -BEGIN PGP SIGNED MESSAGE- > >> Hash: SHA1 > >> > >> > >> > >> Duncan Murdoch wrote: > >>> Prof Brian Ripley

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Simon Urbanek
On Nov 10, 2007, at 5:38 PM, Duncan Murdoch wrote: > On 10/11/2007 4:27 PM, Simon Urbanek wrote: >> On Nov 10, 2007, at 1:05 PM, Duncan Murdoch wrote: >>> On 10/11/2007 1:00 PM, Duncan Temple Lang wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duncan Murdoch wr

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Duncan Murdoch
Bill Dunlap wrote: > On Sat, 10 Nov 2007, Duncan Murdoch wrote: > > >> Prof Brian Ripley wrote: >> >>> Please don't use 'assert' in R packages. If called, this means that an >>> error in your code aborts the whole R process, including your user's work. >>> I see several R packages doing th

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Bill Dunlap
On Sat, 10 Nov 2007, Duncan Murdoch wrote: > Prof Brian Ripley wrote: > > Please don't use 'assert' in R packages. If called, this means that an > > error in your code aborts the whole R process, including your user's work. > > I see several R packages doing this, and one of them called 'assert'

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Duncan Murdoch
On 10/11/2007 4:27 PM, Simon Urbanek wrote: > On Nov 10, 2007, at 1:05 PM, Duncan Murdoch wrote: > >> On 10/11/2007 1:00 PM, Duncan Temple Lang wrote: >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> >>> >>> Duncan Murdoch wrote: Prof Brian Ripley wrote: > Please don't use 'a

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Simon Urbanek
On Nov 10, 2007, at 1:05 PM, Duncan Murdoch wrote: > On 10/11/2007 1:00 PM, Duncan Temple Lang wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> >> >> Duncan Murdoch wrote: >>> Prof Brian Ripley wrote: Please don't use 'assert' in R packages. If called, this means that

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duncan Murdoch wrote: > On 10/11/2007 1:00 PM, Duncan Temple Lang wrote: > > > Duncan Murdoch wrote: Prof Brian Ripley wrote: > Please don't use 'assert' in R packages. If called, this means that > an error in your code aborts the who

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Duncan Murdoch
On 10/11/2007 1:00 PM, Duncan Temple Lang wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > Duncan Murdoch wrote: >> Prof Brian Ripley wrote: >>> Please don't use 'assert' in R packages. If called, this means that an >>> error in your code aborts the whole R process, including y

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duncan Murdoch wrote: > Prof Brian Ripley wrote: >> Please don't use 'assert' in R packages. If called, this means that an >> error in your code aborts the whole R process, including your user's work. >> I see several R packages doing this, and on

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Duncan Murdoch
On 10/11/2007 6:38 AM, Duncan Murdoch wrote: > Prof Brian Ripley wrote: >> Please don't use 'assert' in R packages. If called, this means that an >> error in your code aborts the whole R process, including your user's work. >> I see several R packages doing this, and one of them called 'assert'

Re: [Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Duncan Murdoch
Prof Brian Ripley wrote: > Please don't use 'assert' in R packages. If called, this means that an > error in your code aborts the whole R process, including your user's work. > I see several R packages doing this, and one of them called 'assert' on me > earlier in the week. > I partly disagr

[Rd] C/C++ 'assert' should not be used in R packages

2007-11-10 Thread Prof Brian Ripley
Please don't use 'assert' in R packages. If called, this means that an error in your code aborts the whole R process, including your user's work. I see several R packages doing this, and one of them called 'assert' on me earlier in the week. We provide 'error': please do use it to return contr