golem icon indicating copy to clipboard operation
golem copied to clipboard

run_app not found in github branch after document_and_reload() [BUG]

Open David-Rattray opened this issue 1 year ago • 1 comments

I have two github branches for the app I am developing in golem. On the main branch no issues going into the run_dev.R and running all the steps. golem::document_and_reload() followed by run_app() goes off without a hitch and my app loads up.

However if I switch to my development branch this no longer works as "Error in run_app() : could not find function "run_app". Now I've found an easy fix for this, I just call pkg_load::load_all() prior to run_app() and everything seems to work fine.

Not sure if this is a known problem, or something specific to how I've got everything setup?

Thanks!

David-Rattray avatar Jan 22 '24 17:01 David-Rattray

Hi Do you have a link to your app ?

VincentGuyader avatar Jan 22 '24 19:01 VincentGuyader

Closing for lack of a reproducible example.

@David-Rattray feel free to comment back if you can share a link with us to a repo that shows the issue :)

Thanks

ColinFay avatar Jun 21 '24 09:06 ColinFay