Skip to content

Commit

Permalink
fix inconsistency in duplist
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasRieger committed Jun 28, 2019
1 parent 7239837 commit 276bba6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/duplist.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ duplist <- function(object, paragraph = FALSE){
if (is.matrix(dupType)){
dupType <- as.list(as.data.frame(dupType, stringsAsFactors = FALSE))
}
if (!is.list(dupType)){
dupType <- as.list(dupType)
}
names(dupType) <- dups_names
return(dupType)
}
Expand Down

0 comments on commit 276bba6

Please sign in to comment.