Skip to content

Commit

Permalink
Merge pull request #100 from bjedwards/master
Browse files Browse the repository at this point in the history
Fixes reference issue in `suffix_extract`
  • Loading branch information
Ironholds authored Oct 18, 2019
2 parents a4d88fc + 6d08a1d commit dc3768b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/suffix.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ suffix_extract <- function(domains, suffixes = NULL){
# check if suffixes is a data.frame, and stop if column not found
if(is.data.frame(suffixes)) {
if ("suffixes" %in% colnames(suffixes)) {
suffixes <- suffixes$suffixes
suffixes <- suffixes[["suffixes", exact=FALSE]]
} else {
stop("Expected column named \"suffixes\" in suffixes data.frame")
}
Expand Down

0 comments on commit dc3768b

Please sign in to comment.