Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Force as.character(html) in show_tooltip #231

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/interact_tooltip.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ add_tooltip <- function(vis, html, on = c("hover", "click")) {
#' @export
show_tooltip <- function(session, l = 0, t = 0, html = "") {
ggvis_message(session, "show_tooltip",
list(pagex = l, pagey = t, html = html))
list(pagex = l, pagey = t, html = as.character(html)))
}

#' @rdname show_tooltip
Expand Down