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
I loaded package chron in a newly installed version of R 2.6.0 and the
years() function would not work. (This worked in 2.5).
=20
x-as.Date(2006-01-01)
years(x)
NULL
=20
sessionInfo()
R version 2.6.0 (2007-10-03)=20
i386-pc-mingw32=20
=20
locale:
LC_COLLATE=3DEnglish_United
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 disagree
In chron, ?year says x must be a dates object and its not in the code below.
On Nov 9, 2007 3:55 PM, [EMAIL PROTECTED] wrote:
I loaded package chron in a newly installed version of R 2.6.0 and the
years() function would not work. (This worked in 2.5).
=20
x-as.Date(2006-01-01)
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' on me
-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 one of
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 your user's
-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 whole R process,
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 an
error in your code
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 'assert' in R packages. If
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' on me
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 this, and one of
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 wrote:
Prof Brian Ripley
13 matches
Mail list logo