patternapply

Iteratively try patterns against a character vector.
git clone https://git.eamoncaddigan.net/patternapply.git
Log | Files | Refs | README | LICENSE

commit 01147f08dcb4e82a4f0fd28525267b74ed2f20fe
parent 5771eddbf0a67af7fc93e7a6da3e64ab0b18308a
Author: eamoncaddigan <eamon.caddigan@gmail.com>
Date:   Fri, 26 Feb 2016 21:38:55 -0500

Forgot to return.

Diffstat:
MR/generics.R | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/R/generics.R b/R/generics.R @@ -20,6 +20,8 @@ as.matrix.replacement_list <- function(x) { for (i in seq_along(x)) { rlMatrix[i, seq_along(x[[i]])] <- x[[i]] } + + return(rlMatrix) } #' Convert a replacement_list object into a data.frame.