Skip to content

Commit 0a78264

Browse files
committed
avoid recursive problems
1 parent 917353c commit 0a78264

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/utilities.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ waiver <- function() structure(list(), class = "waiver")
195195
is.waiver <- function(x) inherits(x, "waiver")
196196

197197
pal_binned <- function(palette) {
198+
force(palette)
198199
function(x) {
199200
palette(length(x))
200201
}

0 commit comments

Comments
 (0)