Skip to content

Commit d9d84a7

Browse files
committed
missing control #403
1 parent 1060e8d commit d9d84a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/geoflow_handler.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ geoflow_handler <- R6Class("geoflow_handler",
124124
if(length(opt$default)>1){
125125
opt$default = unlist(opt$default)
126126
}else{
127-
opt$default = switch(opt$default,
127+
opt$default = switch(as.character(opt$default),
128128
"NA" = NA,
129129
"Inf" = Inf,
130130
as(opt$default, opt$class)

0 commit comments

Comments
 (0)