Re: [Rcpp-devel] Simple List Operations

2013-03-06 Thread Dirk Eddelbuettel
On 6 March 2013 at 12:07, Greg Minshall wrote: | (since i've just been here...) | | .../unitTests/runit.Vector.R has these tests: | | test.List.erase <- function(){ | fun <- list_erase | d <- list( x = 1:10, y = letters[1:10] ) | checkEquals(fun(d), | list( y = le

Re: [Rcpp-devel] Simple List Operations

2013-03-06 Thread Greg Minshall
(since i've just been here...) .../unitTests/runit.Vector.R has these tests: test.List.erase <- function(){ fun <- list_erase d <- list( x = 1:10, y = letters[1:10] ) checkEquals(fun(d), list( y = letters[1:10] ), msg = "List.erase" ) } test.List.e