Skip to content

Commit

Permalink
Update ggiNEXT.R
Browse files Browse the repository at this point in the history
Fix iNEXT.default
  • Loading branch information
AnneChao committed Dec 14, 2018
1 parent 45be578 commit 09624f3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions R/ggiNEXT.R
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,15 @@ ggiNEXT.iNEXT <- function(x, type=1, se=TRUE, facet.var="none", color.var="site"

}

#' @export
#' @rdname ggiNEXT
ggiNEXT.default <- function(x, ...){
stop(
"iNEXT doesn't know how to deal with data of class ",
paste(class(x), collapse = "/"),
call. = FALSE
)
}

#' Fortify method for classes from the iNEXT package.
#'
Expand Down

0 comments on commit 09624f3

Please sign in to comment.