Is there a way in R to create a table (using gt, kableExtra, reactable, whatever) where if you hover over an element of that table, a popover appears that have clickable content in that popover?
I see nice ways in kableExtra and gtExtras where you can create tooltips but there isn't anything in that tooltip that can be clicked. I've gone down a decent rabbit hole to try to see if I could write this myself but can't seem to make it work with quarto as this table is destined to live in a qmd.
So to be clear, it would look something like this but would change for each individual cell:
And it is how to create the popover at all that I am struggling with. Once I've got the right html I can modify that string to populate it with what I want.