MattCowgill / ggannotate

Interactively annotate ggplots
Other
309 stars 20 forks source link

Unable to run - "register_theme_dependency" #47

Open NickCH-K opened 1 year ago

NickCH-K commented 1 year ago

I started up ggannotate after a while of not using it, and I can't get it to work at all. The shiny window pops up but I see

An error has occurred!
could not find function "register_theme_dependency"

I'm guessing this is a shiny issue - perhaps the function name has changed or something? This is with ggannotate_0.1.0.900 and shiny_1.7.2

MattCowgill commented 1 year ago

Thanks @NickCH-K, sorry about this. I'll look into it

MattCowgill commented 1 year ago

Hi @NickCH-K are you able to elaborate on this? I tried and didn't encounter a problem with:

library(ggplot2)

ggplot(mtcars, aes(wt, mpg)) +
  geom_point()

ggannotate::ggannotate()
NickCH-K commented 1 year ago

That code produces the same error as before for me. Continues to occur if I update shiny to 1.7.3.