leafpop icon indicating copy to clipboard operation
leafpop copied to clipboard

leafpop conflict with config package

Open KingaHill opened this issue 2 years ago • 2 comments

I have been using leafpop for months now with great love and success. Today, I added a database query using a connection with the package "config" to my Rmd and my leafpop::popupGraph() stopped working. When I removed the query, the pop-ups work well.

There was no error message generated, just an empty popup. image

KingaHill avatar Feb 14 '23 20:02 KingaHill

I have never used cofig, but at first glance I cannot see anything that would interfer with leafpop. Can you provide a reprex?

tim-salabim avatar Feb 15 '23 07:02 tim-salabim

Thank you. I will work on a reprex for you. In the meantime, I got an error with somewhat of a clue about this:

"Error in get("text") : Config file config.yml not found in current working directory or parent directories"

After Googling, it might be related to a config::get() function that config uses.

KingaHill avatar Feb 15 '23 15:02 KingaHill