Skip to content

Commit 1d96d40

Browse files
author
Forest Fang
committed
Use htmlwidgets for new_id
1 parent 554b338 commit 1d96d40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ deparse2 <- function(x) {
8888
}
8989

9090
new_id <- function() {
91-
basename(tempfile(""))
91+
htmlwidgets:::createWidgetId()
9292
}
9393

9494
names2 <- function(x) {

0 commit comments

Comments
 (0)