Skip to content

Commit d3cf225

Browse files
committed
fortify.function passes function along
1 parent ed3db99 commit d3cf225

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/fortify.r

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ fortify.data.frame <- function(model, data, ...) model
1616
#' @export
1717
fortify.NULL <- function(model, data, ...) waiver()
1818
#' @export
19+
fortify.function <- function(model, data, ...) model
20+
#' @export
1921
fortify.default <- function(model, data, ...) {
2022
stop(
2123
"ggplot2 doesn't know how to deal with data of class ",

0 commit comments

Comments
 (0)