Skip to content

Commit 7d8554a

Browse files
Update R/geom-ribbon.r
Co-Authored-By: Thomas Lin Pedersen <[email protected]>
1 parent 69a762d commit 7d8554a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/geom-ribbon.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ GeomRibbon <- ggproto("GeomRibbon", Geom,
156156
munched_lines$id <- switch(outline.type,
157157
both = munched_lines$id + rep(c(0, max(ids, na.rm = TRUE)), each = length(ids)),
158158
upper = munched_lines$id + rep(c(0, NA), each = length(ids)),
159-
abort(paste("inlvaid outline.type:", outline.type))
159+
abort(glue("invalid outline.type: {outline.type}"))
160160
)
161161
g_lines <- polylineGrob(
162162
munched_lines$x, munched_lines$y, id = munched_lines$id,

0 commit comments

Comments
 (0)