The R Project SVN R

Rev

Rev 63062 | Rev 63327 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 63062 Rev 63205
Line 2607... Line 2607...
2607
is.unsorted(data.frame(x=3:4, y=1:2))
2607
is.unsorted(data.frame(x=3:4, y=1:2))
2608
## R < 2.15.1 got these as FALSE, TRUE, FALSE.
2608
## R < 2.15.1 got these as FALSE, TRUE, FALSE.
2609
 
2609
 
2610
 
2610
 
2611
library("methods")# (not needed here)
2611
library("methods")# (not needed here)
2612
assertCondition <- tools::assertCondition
2612
assertError <- tools::assertError
2613
assertCondition( getMethod(ls, "bar", fdef=ls), "error", verbose=TRUE)
2613
assertError( getMethod(ls, "bar", fdef=ls), verbose=TRUE)
2614
assertCondition( getMethod(show, "bar"),        "error", verbose=TRUE)
2614
assertError( getMethod(show, "bar"), verbose=TRUE)
2615
## R < 2.15.1 gave
2615
## R < 2.15.1 gave
2616
##   cannot coerce type 'closure' to vector of type 'character'
2616
##   cannot coerce type 'closure' to vector of type 'character'
2617
 
2617
 
2618
 
2618
 
2619
## corner cases for array
2619
## corner cases for array